iwlwifi: mvm: add D0i3 ref/unref for scan
authorArik Nemtsov <arik@wizery.com>
Thu, 17 Oct 2013 14:51:35 +0000 (17:51 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:40 +0000 (22:23 +0200)
commit519e202649590b4fc1f84cda795af4cf79363362
tree3d864ce0b6b4475dcd33a9349cf594108266e063
parent7498cf4cebc2dab430d41ea5ccaac2197b9c7020
iwlwifi: mvm: add D0i3 ref/unref for scan

Take a reference when starting to scan and release it on completion.
Note that if the scan is cancelled/aborted, a completion will still be
sent up.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Eliad Peller <eliadx.peller@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
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/scan.c