]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: dont set REQ_RUN when scan finishes
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 10 Sep 2008 22:01:48 +0000 (00:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2008 20:48:20 +0000 (16:48 -0400)
commit7c95069522d02ff144cd421be6618dce619caf7e
tree927c6b8c535cfc0933033850d85a5ae350713f69
parenta1678f84bff9b20807f7f6a45ebfb56a0c02b353
mac80211: dont set REQ_RUN when scan finishes

The timer restart is done wrongly, we shouldn't set the REQ_RUN
bit when the scan has finished if it hadn't been set before the
scan started. If the timer fires during the scan, it will set
REQ_RUN and then we can run the work for it, if it didn't fire
then we shouldn't run its work either.

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