mac80211: stay authenticated after disassoc
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 6 Aug 2009 18:41:32 +0000 (20:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:12:46 +0000 (09:12 -0400)
commite21546a2a3953a7d4b9d5c9b1cf12184ffceab96
tree2810351a0fd6f7db3d83e077ad8418f4cacfea44
parent30d742d5468c954969766bb0e809f218abc73af7
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>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c