diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2009-07-23 12:14:29 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-27 21:24:17 +0200 |
commit | 09f97e0fc4ae81f151bd76b97e28d2af429c1427 (patch) | |
tree | 71ed205db6791f574591eca0e672611f31e00391 /net | |
parent | mac80211: rename scan_state to next_scan_state (diff) | |
download | linux-09f97e0fc4ae81f151bd76b97e28d2af429c1427.tar.xz linux-09f97e0fc4ae81f151bd76b97e28d2af429c1427.zip |
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')
-rw-r--r-- | net/wireless/scan.c | 2 |
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 @@ #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) { |