iwlwifi: mvm: treat scan races also on UMAC scans
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 7 May 2015 14:21:09 +0000 (17:21 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:35:25 +0000 (13:35 +0300)
commit262888fcc70d42343dfb137a021d45be05183da6
tree4170df57b1f52dffd2a2aba4e6d46b3fe06b8141
parent8d14ccd878e52f8d1c60fa2f6f10b5921ee8f4f9
iwlwifi: mvm: treat scan races also on UMAC scans

For UMAC, we were not treating a race condition that happens in the
scan flows, because it was not using the same state flags.  Now that
UMAC and LMAC scans use the same state flags, we can also handle the
race conditions for UMAC.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c