aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-10-20 15:08:53 +0900
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:29:47 -0400
commit7d930bc33653d5592dc386a76a38f39c2e962344 (patch)
treef974e7f86b0d695ca1ca90095c157bec4f739006 /net/wireless/core.h
parent2ef6e4440926668cfa9eac4b79e63528ebcbe0c1 (diff)
downloadkernel_goldelico_gta04-7d930bc33653d5592dc386a76a38f39c2e962344.zip
kernel_goldelico_gta04-7d930bc33653d5592dc386a76a38f39c2e962344.tar.gz
kernel_goldelico_gta04-7d930bc33653d5592dc386a76a38f39c2e962344.tar.bz2
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>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 2a33d8b..68b3219 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -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 */