]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: mvm: Clean up UMAC scan UIDs in the reset and drv_stop flows
authorAlexander Bondar <alexander.bondar@intel.com>
Thu, 26 Mar 2015 09:07:35 +0000 (11:07 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 30 Mar 2015 05:58:09 +0000 (08:58 +0300)
commit963221bea4b46b175d51329c63dd6f16601d411b
tree948018b88ed5bb7e3e54085cc1f8f68c9deb8727
parentd383c7409171452aaa6569f1451f9975d44f3d76
iwlwifi: mvm: Clean up UMAC scan UIDs in the reset and drv_stop flows

In the reset flow, the driver cancels ongoing scan and sends scan
complete notification to mac80211. However it does not clean its UID.
Add cleaning scan UID for the ongoing scan. Loop over all other UIDs
to make sure there's nothing left there and warn if any is found.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/scan.c