]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Check pending scan request after having processed mgd work
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 25 Aug 2009 14:44:28 +0000 (17:44 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:46 +0000 (14:40 -0400)
commitbdafe6e160d347a64baa62f87474776a6d1446e0
treed73447bb71015d4b82a2a6b9073bef2c09503488
parentbd7d3abe6163d38b00ea17ed097b056b8720b0b5
mac80211: Check pending scan request after having processed mgd work

When the queued management work items are processed in
ieee80211_sta_work() an item could be removed. This could change the
anybusy from true to false, so we better check whether we can start a
new scan only after having processed the pending work first.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c