summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-03-19 11:06:29 +0100
committerLuciano Coelho <coelho@ti.com>2012-04-10 11:48:10 +0200
commit16f3eb530fb5e7eacbdaaf09c66edc273087a21d (patch)
tree290e35bece3e8c10d41f35ba51cc40a8386e790e /drivers/net/wireless/wl12xx
parentwl12xx: adaptive sched scan dwell times (diff)
downloadlinux-16f3eb530fb5e7eacbdaaf09c66edc273087a21d.tar.xz
linux-16f3eb530fb5e7eacbdaaf09c66edc273087a21d.zip
wl12xx: increase scan timeout to 30s
In certain scenarios involving sched scan + normal scan + COEX scan could take longer than 10s and this triggers a recovery where it shouldn't. Increase the timeout to avoid that. Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/scan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/scan.h b/drivers/net/wireless/wl12xx/scan.h
index 96ff457a3a0b..2b300f4d0be9 100644
--- a/drivers/net/wireless/wl12xx/scan.h
+++ b/drivers/net/wireless/wl12xx/scan.h
@@ -55,7 +55,7 @@ void wl1271_scan_sched_scan_results(struct wl1271 *wl);
#define WL1271_SCAN_BAND_2_4_GHZ 0
#define WL1271_SCAN_BAND_5_GHZ 1
-#define WL1271_SCAN_TIMEOUT 10000 /* msec */
+#define WL1271_SCAN_TIMEOUT 30000 /* msec */
enum {
WL1271_SCAN_STATE_IDLE,