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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:00:16 +0000 (14:00 +0200)
commit45dad03aca5596cc8c1ba71b7644b5859377b823
tree939c1888f9f741e6a9c596a6adc1941b87a673c7
parentd0a8075ffe0572819e19aac9110e1913cef754d4
iwlwifi: mvm: don't restart HW if suspend fails with unified image

commit bac453ab3745eaa64137ea6e77e009b45954f0ae upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c