iwlwifi: trans: consider firmware dead after errors
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Dec 2020 21:16:36 +0000 (23:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Dec 2020 22:14:20 +0000 (00:14 +0200)
commit152fdc0f698896708f9d7889a4ba4da6944b74f7
tree79fe31ce10fc6fbc070dc2d633e6e8980a7384eb
parent69d6cfc491f0d2f0429b3ef1cffd393d826f2c5d
iwlwifi: trans: consider firmware dead after errors

If we get an error, no longer consider the firmware to be
in IWL_TRANS_FW_ALIVE state.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201209231352.a9d01e79c1c7.Ib2deb076b392fb516a7230bac91d7ab8a9586d86@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h