cfg80211: sme: deauthenticate on assoc failure
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 20 Oct 2009 06:08:53 +0000 (15:08 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:29:47 +0000 (16:29 -0400)
commit7d930bc33653d5592dc386a76a38f39c2e962344
treef974e7f86b0d695ca1ca90095c157bec4f739006
parent2ef6e4440926668cfa9eac4b79e63528ebcbe0c1
cfg80211: sme: deauthenticate on assoc failure

When the in-kernel SME gets an association failure from
the AP we don't deauthenticate, and thus get into a very
confused state which will lead to warnings later on. Fix
this by actually deauthenticating when the AP indicates
an association failure.

(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/wireless/core.h
net/wireless/mlme.c
net/wireless/sme.c