cfg80211: increase scan result expire time
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 23 Jul 2009 10:14:29 +0000 (12:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Jul 2009 19:24:17 +0000 (15:24 -0400)
Using background scanning in mac80211 the time a scan needs to
finish can exceed 10 seconds. Hence, increase the scan results
expire time to 15 seconds which should be sufficient.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/scan.c

index 1b578b8cb1c9d41e43ace8bb53cc28f239d81235..2a2683f6c04a31de48be959cc58070a8999a7646 100644 (file)
@@ -15,7 +15,7 @@
 #include "core.h"
 #include "nl80211.h"
 
-#define IEEE80211_SCAN_RESULT_EXPIRE   (10 * HZ)
+#define IEEE80211_SCAN_RESULT_EXPIRE   (15 * HZ)
 
 void __cfg80211_scan_done(struct work_struct *wk)
 {