diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-08-06 20:41:32 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:12:46 -0400 |
commit | e21546a2a3953a7d4b9d5c9b1cf12184ffceab96 (patch) | |
tree | 2810351a0fd6f7db3d83e077ad8418f4cacfea44 /net/mac80211/ieee80211_i.h | |
parent | 30d742d5468c954969766bb0e809f218abc73af7 (diff) | |
download | lwn-e21546a2a3953a7d4b9d5c9b1cf12184ffceab96.tar.gz lwn-e21546a2a3953a7d4b9d5c9b1cf12184ffceab96.zip |
mac80211: stay authenticated after disassoc
After being disassociated by the AP, mac80211 currently
reports this to cfg80211, and then goes to delete the
association. That's fine, but cfg80211 assumes that it's
still authenticated, however, mac80211 throws away all
state.
This fixes mac80211 to keep track of the authentication
in that case so that cfg80211 can request a deauth or
new association properly.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 630a438180fd..989591787aee 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -284,6 +284,7 @@ struct ieee80211_if_managed { struct mutex mtx; struct ieee80211_bss *associated; + struct ieee80211_mgd_work *old_associate_work; struct list_head work_list; u8 bssid[ETH_ALEN]; |