From: Eyal Shapira Date: Mon, 19 Mar 2012 10:06:29 +0000 (+0200) Subject: wl12xx: increase scan timeout to 30s X-Git-Tag: v3.12-rc1~3113^2~410^2~79^2^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16f3eb530fb5e7eacbdaaf09c66edc273087a21d;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Luciano Coelho --- diff --git a/drivers/net/wireless/wl12xx/scan.h b/drivers/net/wireless/wl12xx/scan.h index 96ff457..2b300f4 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,