mac80211: send deauth only with channel context
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Oct 2012 08:46:31 +0000 (09:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 13:13:33 +0000 (14:13 +0100)
When userspace asks to deauthenticate and we're just
authenticated (or still authenticating) send a deauth
frame instead of deleting the auth request.

On the other hand, if we've just disassociated and
therefore deleted all our state already, drop the
deauth request because we no longer have a channel
context to send it on.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found