Am Donnerstag, 23. Juli 2009 schrieb Johannes Berg: > On Thu, 2009-07-23 at 12:14 +0200, Helmut Schaa wrote: > > 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@xxxxxxxxxxxxxx> > > Heh. ;) Maybe we could later use a dynamic expire time based on the time the last scan took or something similar. But for now 15 seconds should suffice. > Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > > johannes > > > --- > > > > 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 4ad8b4b..0850b98 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) > > { > > > > > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html