iwlwifi: fix send hcmd timeout recovery flow
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Wed, 5 Dec 2018 06:48:26 +0000 (08:48 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 4 Feb 2019 10:28:08 +0000 (12:28 +0200)
commitb8a7547d77782ba1d403f2417be9453a3a256e14
tree35fe8ddd2bf1fe92c58c5e560f4de56723688364
parent505a00c071132689611d66cb61625282df9bee12
iwlwifi: fix send hcmd timeout recovery flow

Both iwl_trans_fw_error and iwl_force_nmi initiate async recovery flow.
Calling them both is redundant and causing a race.

Solve this by removing the call to iwl_trans_fw_error.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Fixes: cfadc3ffccd5 ("iwlwifi: pcie: stop the firmware when we restart it")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c