Files
linux/drivers
Emmanuel Grumbach a509a248bb iwlwifi: mvm: reset the fw_dump_desc pointer after ASSERT
When we get an ASSERT, the fw_dump_desc pointer points to
iwl_mvm_dump_desc_assert which can't be freed since it is
a global. We still need to NULL'ify the pointer when we
call iwl_mvm_free_fw_dump_desc otherwise we will hit

int iwl_mvm_fw_dbg_collect_desc(struct iwl_mvm *mvm,
                                const struct iwl_mvm_dump_desc *desc,
                                const struct iwl_fw_dbg_trigger_tlv *trigger)
{
<snip>
        if (WARN_ON(mvm->fw_dump_desc))
                iwl_mvm_free_fw_dump_desc(mvm);

Fixes: b6eaa45aa1 ("iwlwifi: mvm: add the cause of the firmware dump in the dump")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2017-06-23 12:09:13 +03:00
..
2017-06-03 00:01:45 +02:00
2017-06-09 15:49:02 -04:00
2017-04-27 11:54:49 +01:00
2017-05-28 10:22:42 -07:00
2017-04-17 00:42:22 +02:00
2017-04-20 09:54:24 +02:00
2017-04-10 16:43:41 +05:30
2017-05-18 23:54:47 -07:00
2017-06-04 10:23:25 +02:00