aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2009-07-23 06:14:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-27 15:24:17 -0400
commit09f97e0fc4ae81f151bd76b97e28d2af429c1427 (patch)
tree71ed205db6791f574591eca0e672611f31e00391 /net/wireless
parent977923b00c79185c11b4b47664f5ffa4c3820438 (diff)
cfg80211: increase scan result expire time
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>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 1b578b8cb1c9..2a2683f6c04a 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -15,7 +15,7 @@
15#include "core.h" 15#include "core.h"
16#include "nl80211.h" 16#include "nl80211.h"
17 17
18#define IEEE80211_SCAN_RESULT_EXPIRE (10 * HZ) 18#define IEEE80211_SCAN_RESULT_EXPIRE (15 * HZ)
19 19
20void __cfg80211_scan_done(struct work_struct *wk) 20void __cfg80211_scan_done(struct work_struct *wk)
21{ 21{