mac80211: split out and decrease probe wait time
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 12 May 2009 18:11:26 +0000 (20:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 May 2009 19:44:45 +0000 (15:44 -0400)
commite0502de6fe85b66ee51647eb75bc5af3c885d712
tree64fd2f5de67268d8a8fc6605911ff28cc9949c67
parent34bfc411f63c8b0efb328b7574fc97bc1714cb29
mac80211: split out and decrease probe wait time

The time we wait for a probe response after probing an AP due to
beacon loss is currently the same as the monitoring interval, 2s.
This is far too long, APs should respond to probes within a
fraction of that time. To be able to adjust both values, add a
new constant IEEE80211_PROBE_WAIT, use it for checking the probe
response, and adjust it down to 200ms instead of 2 seconds.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c