iwlwifi: mvm: don't restart HW if suspending fails before D3 image is loaded
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 19 Nov 2013 20:53:41 +0000 (22:53 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:45 +0000 (22:29 +0200)
commitb70ab7278f5e872dec600a6f16c6a8dba4601794
tree94fa386e3c2bc620e0924f0cdc360b2e76b6f152
parent5b577a90fb3d86447ee86f8e0c6ddbd5da2ef8c9
iwlwifi: mvm: don't restart HW if suspending fails before D3 image is loaded

If we haven't loaded the D3 image yet and a failure in the suspend
process occurs, we shouldn't restart the HW, because we're still
running the D0 image.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c