]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix SME association after disassociation
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 6 Aug 2009 18:41:34 +0000 (20:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:12:47 +0000 (09:12 -0400)
commit6634043fac97a764457d0035eefb49d75002a63d
treea0f1b09c77be822d41df7d26772e1e3b57ad63fe
parent79d815050cf1096b6f0bef62f5b5637d9d2c9602
cfg80211: fix SME association after disassociation

When an AP disassociates us, we currently go into a weird
state because the SME doesn't handle authenticated but not
associated well unless it's within its own state machine,
it can't recover from that. However, it shouldn't need to,
since we don't do any decisions in it really -- so when we
get disconnected, simply deauthenticate too.

Reported-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sme.c