mac80211: stop polling in disassociation
authorDavid Spinadel <david.spinadel@intel.com>
Tue, 12 Jun 2012 06:59:45 +0000 (09:59 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jun 2012 08:17:55 +0000 (10:17 +0200)
commit79543d8eecc0957ac6fe3ec1e2486ad31d4b67a3
treed1a97beb21278f082d8a95d6a555309844d1b2a9
parent554a43d5e77e8256aa9685ffd19ad555e6f77979
mac80211: stop polling in disassociation

Stop connection monitor poll during disassociation.
This clears the polling flags and if a scan was
deferred it will be run.

Without this fix, if a scan was deferred due to
connection monitoring while disassociation happens,
this scan blocks further scan requests until interface
down/up which causes problems connecting to another AP.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c