summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-01-17 13:10:31 +0200
committerLuca Coelho <luciano.coelho@intel.com>2021-02-05 11:52:29 +0200
commit96a603803debd28a9de218f90712d81bad578b76 (patch)
treeb5b1b7bbfeab12616e869413ecfd5620174e18a9 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parent88181e6e21c4f4c0dcacf147e0e8c5bb789b6e5b (diff)
downloadlinux-96a603803debd28a9de218f90712d81bad578b76.tar.gz
linux-96a603803debd28a9de218f90712d81bad578b76.tar.bz2
linux-96a603803debd28a9de218f90712d81bad578b76.zip
iwlwifi: mvm: scan: fix scheduled scan restart handling
When restarting firmware with an ongoing scheduled scan, we don't (and shouldn't) mark it as aborted as mac80211 will be restarting it, and so no event should go out to userspace. The appropriate comment regarding this wasn't moved to this place, so add it. However, we _do_ need to clean up our internal state, since mac80211 will restart the scan, and we'll otherwise get to the WARN_ON() a few lines below for no reason whatsoever. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20210117130510.4ddc9b017268.Ie869b628ae56a5d776eba0e7b7f05f42fc566f2e@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions