]> git.karo-electronics.de Git - linux-beck.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)
commit5a143db8c4a28dab6423cb6197e9f1389da375f2
treeb449b3ea1ee6acf743885ac28ee5073adcd8d375
parente0d9727c111a5917a1184c71c1a8e6f78c7fc41d
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 23ae61282b88 ("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