]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix probe response wait timing
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 19 May 2009 19:26:07 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 May 2009 18:05:59 +0000 (14:05 -0400)
commit255111089b339fb1b6d9604c09336d55bc95b856
tree6e27e3c02468d603488f632fce0faa7591d80fc9
parent63ab29e786c3786b3dab76e98417ce1b0d1706f9
mac80211: fix probe response wait timing

In "mac80211: split out and decrease probe wait time" I tried
to reduce the time waiting for a probe response, but failed to
take into account the case where we are detecting beacon loss
in software -- in that case we still wait the monitoring time
rather than the probe wait time. Fix this by refactoring the
mod_timer() calls in ieee80211_associated().

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