wifi: iwlwifi: mvm: show dump even for pldr_sync
authorJohannes Berg <johannes.berg@intel.com>
Sun, 22 Oct 2023 14:55:54 +0000 (17:55 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 10:49:30 +0000 (12:49 +0200)
Worst case it's extra (garbage) data, best case we see why
things failed ... Seems the trade-off is better if we print
it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231022173519.30e614ecd540.I47324f555ebcf22d0dd0afa94e7ca0af53a9fdba@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ops.c

index 8bba59d83b30a19b6081ec6cb8923eb949d1e24a..fef86a8b41639381c1355f3df8e11b88f5696c05 100644 (file)
@@ -1979,9 +1979,6 @@ static void iwl_mvm_nic_error(struct iwl_op_mode *op_mode, bool sync)
 {
        struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode);
 
-       if (mvm->pldr_sync)
-               return;
-
        if (!test_bit(STATUS_TRANS_DEAD, &mvm->trans->status) &&
            !test_and_clear_bit(IWL_MVM_STATUS_SUPPRESS_ERROR_LOG_ONCE,
                                &mvm->status))