From: Helmut Schaa Date: Thu, 23 Jul 2009 10:14:29 +0000 (+0200) Subject: cfg80211: increase scan result expire time X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=09f97e0fc4ae81f151bd76b97e28d2af429c1427;p=linux-beck.git 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 Acked-by: Johannes Berg Signed-off-by: John W. Linville --- 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) {