iwlwifi: mvm: fix d3_test with unified D0/D3 images
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 5 Oct 2016 08:24:12 +0000 (11:24 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Oct 2016 05:44:11 +0000 (08:44 +0300)
commit85cd69b8f1f7e289fe931a82889e673fd0f04842
tree59171b8c43cc4e67c795f9c3a007fd98a8f31f0c
parent276c4b4b74b6d5bc3cab35534409f3ad32464b78
iwlwifi: mvm: fix d3_test with unified D0/D3 images

When a unified D0/D3 image is used, we don't restart the FW in the
D0->D3->D0 transitions.  Therefore, the d3_test functionality should
not call ieee8021_restart_hw() when the resuming either.

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