Skip to content

Commit

Permalink
cfg80211: increase scan result expire time
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Jul 27, 2009
1 parent 977923b commit 09f97e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wireless/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 09f97e0

Please sign in to comment.