]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix netdetect starting/stopping for unified images
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 5 Oct 2016 06:28:53 +0000 (09:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Oct 2016 06:54:45 +0000 (09:54 +0300)
commite7522c72f307ac2cae86f16b510996e6e301a73e
treeb449b3ea1ee6acf743885ac28ee5073adcd8d375
parent43429909cf8fe981c98cc38790ecca56d27ed7aa
iwlwifi: mvm: fix netdetect starting/stopping for unified images

With unified images, we need to make sure the net-detect scan is
stopped after resuming, since we don't restart the FW.  Also, we need
to make sure we check if there are enough scan slots available to run
it, as we do with other scans.

Fixes: commit 2dd4a5a1988e ("iwlwifi: mvm: Do not switch to D3 image on suspend")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
drivers/net/wireless/intel/iwlwifi/mvm/scan.c