[Bugfix][T800][bug-view-419]change scan retry limit 20 to 200 ,fix system reboot when sta connected radio Measurement
Affected module:wifi
Is it addected on both ZXIC and MTK: only MTK
Self-test: YES
Doc Update: No
Change-Id: I6b464fb3a421f64759f5126abcd22298e26e2aa6
diff --git a/src/kernel/linux/v4.19/drivers/net/wireless/bcmdhd/wl_cfgscan.c b/src/kernel/linux/v4.19/drivers/net/wireless/bcmdhd/wl_cfgscan.c
index 866e843..13e8f66 100755
--- a/src/kernel/linux/v4.19/drivers/net/wireless/bcmdhd/wl_cfgscan.c
+++ b/src/kernel/linux/v4.19/drivers/net/wireless/bcmdhd/wl_cfgscan.c
@@ -1750,8 +1750,9 @@
WL_MEM(("scan_timer_interval_ms %d\n", scan_timer_interval_ms));
return scan_timer_interval_ms;
}
-
-#define SCAN_EBUSY_RETRY_LIMIT 20
+//fix system reboot when sta mode connected adio Measurement ap, scan retry more 20 , change limit 20 to 200 20241203 by qs.xiong start
+#define SCAN_EBUSY_RETRY_LIMIT 200
+//fix system reboot when sta mode connected adio Measurement ap, scan retry more 20 , change limit 20 to 200 20241203 by qs.xiong end
static s32
wl_cfgscan_handle_scanbusy(struct bcm_cfg80211 *cfg, struct net_device *ndev, s32 err)
{