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>
This commit is contained in:

committed by
John W. Linville

parent
2ef6e44409
commit
7d930bc336
@@ -358,6 +358,7 @@ int cfg80211_mgd_wext_connect(struct cfg80211_registered_device *rdev,
|
||||
struct wireless_dev *wdev);
|
||||
|
||||
void cfg80211_conn_work(struct work_struct *work);
|
||||
void cfg80211_sme_failed_assoc(struct wireless_dev *wdev);
|
||||
bool cfg80211_sme_failed_reassoc(struct wireless_dev *wdev);
|
||||
|
||||
/* internal helpers */
|
||||
|
Reference in New Issue
Block a user