iwlwifi: mvm: comply with fw_restart mod param on suspend
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Mon, 12 Sep 2016 07:24:19 +0000 (10:24 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Oct 2016 05:46:33 +0000 (08:46 +0300)
commit5bfadc8255e2cd92be7538fd7dfa777c27f58be0
treecb848d8ba0f880f254d719564f1d60e782c8d8fc
parent85cd69b8f1f7e289fe931a82889e673fd0f04842
iwlwifi: mvm: comply with fw_restart mod param on suspend

If the suspend flow fails, we restart the hardware to go back to
the D0 image (with non-unified images), but we don't comply with
the fw_restart module parameter.  If something goes wrong when
starting the D3 image, we may want to debug it, so we should
comply with the fw_restart flag to avoid clearing everything up
and losing the firmware state when the error occurred.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c