iwlwifi: mvm: avoid FW restart while shutting down
authorJohannes Berg <johannes.berg@intel.com>
Mon, 2 Aug 2021 14:09:36 +0000 (17:09 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:32:19 +0000 (23:32 +0300)
commit2f308f008f1ccda4dcf9816c7dad0a33fbffdd18
tree07eebb0cef7e551b2cdc1f1b868409188ee92b58
parent0eb5a554bb49bf62f929612dd964e4a834b71a81
iwlwifi: mvm: avoid FW restart while shutting down

If the firmware crashes while we're already shutting down
the system, there isn't much we can do since the shutdown
process is continuing and we wanted to do that. Don't do
a FW restart, with the implied debug collection, in this
case.

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.20210802170640.43a7351ae6bd.I164d48ce4379accf76ea0637983fd946d52dc6f5@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ops.c