]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: keep auth state when assoc fails
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 20 Oct 2009 06:08:12 +0000 (15:08 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:29:47 +0000 (16:29 -0400)
commit4dbcfa76a9cd7a67326e4195e5a7f39a9c89ad47
tree6db9ef36346c2b263d7bed07fed99cffd6fb2a44
parent64c5a6ce9a34dbc95de11dbdaa47102eaecbb3db
mac80211: keep auth state when assoc fails

When association fails, we should stay authenticated,
which in mac80211 is represented by the existence of
the mlme work struct, so we cannot free that, instead
we need to just set it to idle.

(Brought to you by the hacking session at Kernel Summit 2009 in Tokyo,
Japan. -- JWL)

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