]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix more bugs in mlme handling
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 10 Jul 2009 22:17:32 +0000 (00:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:12 +0000 (15:05 -0400)
commitc03493634e5f30ec90625b416c48c38a82daea24
tree0629a2e3cd6aec37a7ac7eab63bcf7ef5121da7e
parent9a0b7bfcf53bed6ded76002ca45d596f99f65191
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