]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45d21b677b3f8138889913c7886f9d271e5d14c8
tree7ad96e39b4b7e8de9a917c00a366e11a6d3608af
parentb6e127f8c2e5e250f6de5102de5019e382eb1d6d
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: 3d2f3eb34a77 ("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