cfg80211: fix bugs in new SME implementation
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 28 Jun 2013 09:38:54 +0000 (11:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 06:55:54 +0000 (09:55 +0300)
commit923a0e7dee8c436108279568cf34444749ac796f
treee352527acb131c93aeadca4c2470c064773513e0
parenta0ec570f4f69c4cb700d743a915096c2c8f56a99
cfg80211: fix bugs in new SME implementation

When splitting the SME implementation from the MLME code,
I introduced a few bugs:
 * association failures no longer sent a connect-failure event
 * getting disassociated from the AP caused deauth to be sent
   but state wasn't cleaned up, leading to warnings
 * authentication failures weren't cleaned up properly, causing
   new connection attempts to warn and fail

Fix these bugs.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
net/wireless/sme.c