iwlwifi: mvm: cancel the scan delayed work when scan is aborted
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 5 Feb 2021 09:06:39 +0000 (11:06 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:56:45 +0000 (11:56 +0200)
commitd8cf2cfa9746a5b3fec5e72a801e4283b03ad84e
treeb25e22f37bf0fb2057b6743a1b0c7efd95a59833
parent7f9c3bc465b20245c11a2455ed2770d02b0adf4c
iwlwifi: mvm: cancel the scan delayed work when scan is aborted

When we abort the scan because of a firmware crash, we
need to cancel the delayed work that monitors the scan
completion. Otherwise it'll kick and try to restart the
firmware yet another time.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210205110447.a497faa942dd.Ibc155ad36da9de7eb0ddcdd826ddf8dd6607d2ac@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c