mac80211: recalculate idle later in MLME
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 29 Nov 2009 11:19:06 +0000 (12:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Dec 2009 21:51:18 +0000 (16:51 -0500)
commitbc83b6819289c031c439a5aa18ba0fd539d14f3e
tree3e94213703b0a72086a721d78d436919c4dd1dcf
parentc14589eb3080636a2f71ebaf21ab9fd70ffc20cc
mac80211: recalculate idle later in MLME

hwsim testing has revealed that when the MLME
recalculates the idle state of the device, it
sometimes does so before sending the final
deauthentication or disassociation frame. This
patch changes the place where the idle state
is recalculated, but of course driver transmit
is typically asynchronous while configuration
is expected to be synchronous, so it doesn't
fix all possible cases yet.

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