cfg80211: fix more bugs in mlme handling
commit596a07c18b35c9df2fb212856241ae0dfe3162b9
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 10 Jul 2009 22:17:32 +0000 (11 00:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:12 +0000 (24 15:05 -0400)
tree0629a2e3cd6aec37a7ac7eab63bcf7ef5121da7e
parent930c06f27120fa8cf0bfb6fa000a701cfaf01ed6
cfg80211: fix more bugs in mlme handling

The "what-was-I-thinking-if-anything" patch. Clearly,
if cfg80211_send_disassoc() does wdev_lock() and then
calls __cfg80211_send_disassoc(), the latter shouldn't
lock again. And the sme_state test is ... no further
comments.

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