cfg80211: fix disassoc while not associated
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 27 Jul 2009 08:22:28 +0000 (10:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jul 2009 19:46:11 +0000 (15:46 -0400)
commitf9d6b402603a63b5e5b56bd7a79fa72a818be55b
treef1568e0d82005fb40186d5436627841be053ac87
parentfec247c0d5bfbaa0861774ce31d515bbd48f7fce
cfg80211: fix disassoc while not associated

When trying to disassociate while not associated,
the kernel would crash rather than refusing the
operation, fix this;

Reported-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/mlme.c