[BugFix][API-1425]add debugFW insmod in insmod_drv.sh

Affected branch:MR3.0-xx && GSW3.0

Affected module:wifi

Is it addected on both ZXIC and MTK: only MTK

Self-test: Yes

Doc Update: No

Change-Id: I403e584fd7b009abf890396ed68a249d771b282d
diff --git a/meta/meta-mediatek-mt2735/recipes-kernel/modules/files/wg870_drv_insmod.sh b/meta/meta-mediatek-mt2735/recipes-kernel/modules/files/wg870_drv_insmod.sh
index edb3f18..2515181 100755
--- a/meta/meta-mediatek-mt2735/recipes-kernel/modules/files/wg870_drv_insmod.sh
+++ b/meta/meta-mediatek-mt2735/recipes-kernel/modules/files/wg870_drv_insmod.sh
@@ -18,7 +18,14 @@
 	nvram_file=/etc/wg870/cyw989570fcref_rev1.58.txt
 fi
 
-insmod /lib/modules/4.19.98/kernel/drivers/net/wireless/bcmdhd/bcmdhd.ko firmware_path=/etc/wg870/config_pcie.trxse nvram_path=$nvram_file clm_path=/etc/wg870/89570_mobiltek_ivi_v4.clm_blob || exit 1
+DebugFwTest="/data/DebugFw.trxse"
+if [ -f $DebugFwTest ]; then
+	        echo insmod wg870 debug DebugFw.trxse
+                insmod /data/bcmdhd.ko firmware_path=$DebugFwTest nvram_path=$nvram_file clm_path=/etc/wg870/89570_mobiltek_ivi_v4.clm_blob || exit 1
+        else
+                echo insmod wg870 driver
+                insmod /lib/modules/4.19.98/kernel/drivers/net/wireless/bcmdhd/bcmdhd.ko firmware_path=/etc/wg870/config_pcie.trxse nvram_path=$nvram_file clm_path=/etc/wg870/89570_mobiltek_ivi_v4.clm_blob || exit 1
+fi
 
 wpa_supplicant -g/var/run/wpa_wlan0_cmd -dd -t -u &