iwlwifi: mvm: don't restart HW if suspend fails with unified image
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 7 Oct 2016 12:16:26 +0000 (15:16 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 23 Jan 2017 21:36:46 +0000 (23:36 +0200)
commitbac453ab3745eaa64137ea6e77e009b45954f0ae
tree7ad96e39b4b7e8de9a917c00a366e11a6d3608af
parent371a17ed415af2023dddf90210122241d69b6727
iwlwifi: mvm: don't restart HW if suspend fails with unified image

For unified images, we shouldn't restart the HW if suspend fails.  The
only reason for restarting the HW with non-unified images is to go
back to the D0 image.

Fixes: 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