wl12xx: increase scan timeout to 30s
authorEyal Shapira <eyal@wizery.com>
Mon, 19 Mar 2012 10:06:29 +0000 (12:06 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 10 Apr 2012 09:48:10 +0000 (12:48 +0300)
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>
drivers/net/wireless/wl12xx/scan.h

index 96ff457..2b300f4 100644 (file)
@@ -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,