iwlwifi: mvm: global PM mode does not reset after FW crash
authorRavi Darsi <ravi.darsi@intel.com>
Wed, 10 Feb 2021 15:23:49 +0000 (17:23 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 23:57:38 +0000 (01:57 +0200)
commit11dd729afa4894f41de34e3c490bb4a848782c6c
tree1ecfb2fe22fafa2d54c687f72efa19abc993c3bc
parentc61734a69caf5df8cc51d1742aa55b63b1f1e957
iwlwifi: mvm: global PM mode does not reset after FW crash

When The driver in D3 and FW crash happens, trans->system_pm_mode
is  not reset to IWL_PLAT_PM_MODE_DISABLED which causes the driver
not to send INIT conmmands and D3 resume fails.

This patch contains the fix for resetting trans->system_pm_mode to
IWL_PLAT_PM_MODE_DISABLED and D3 resume is successful.

Signed-off-by: Ravi Darsi <ravi.darsi@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210172142.ad170ad48409.Ifc6b10e8b3f235876af91d0e23e90b462d270eff@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c