cfg80211: fix SME association after disassociation
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 6 Aug 2009 18:41:34 +0000 (20:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:12:47 +0000 (09:12 -0400)
commitb6f0b639089fb160b10984ac56e07e7043dabad7
treea0f1b09c77be822d41df7d26772e1e3b57ad63fe
parente458b8a22d33eef62765c9f89889efeb4041f073
cfg80211: fix SME association after disassociation

When an AP disassociates us, we currently go into a weird
state because the SME doesn't handle authenticated but not
associated well unless it's within its own state machine,
it can't recover from that. However, it shouldn't need to,
since we don't do any decisions in it really -- so when we
get disconnected, simply deauthenticate too.

Reported-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sme.c