]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef9f7ee768991ca028c035a4703a04eb2e6ca62f
treef974e7f86b0d695ca1ca90095c157bec4f739006
parent4dbcfa76a9cd7a67326e4195e5a7f39a9c89ad47
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