]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d49b1d7ca30b1eacb254e879eb66fc942ab0f58
tree2810351a0fd6f7db3d83e077ad8418f4cacfea44
parentb1fdda39fb24d5a64ea21b80ffb43c9a9ff899e4
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