iwlwifi: mvm: add the cause of the firmware dump in the dump
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / mvm / ops.c
index 96a4a154a42c7751568bcfba61c9d361ed25d11e..f1c5751934d50352814b9e015ce24c6a648b07a9 100644 (file)
@@ -879,7 +879,7 @@ void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error)
         * can't recover this since we're already half suspended.
         */
        if (!mvm->restart_fw && fw_error) {
-               iwl_mvm_fw_dbg_collect(mvm, FW_DBG_TRIGGER_FW_ASSERT, 0);
+               iwl_mvm_fw_dbg_collect_desc(mvm, &iwl_mvm_dump_desc_assert, 0);
        } else if (test_and_set_bit(IWL_MVM_STATUS_IN_HW_RESTART,
                                    &mvm->status)) {
                struct iwl_mvm_reprobe *reprobe;
This page took 0.029388 seconds and 5 git commands to generate.