Commit 5bfe6f53 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach

iwlwifi: mvm: update layout of firmware error dump

The memory was not zeroed - fix that. Also update the
iwl_fw_error_dump_info structure.
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 655e6d6d
...@@ -686,7 +686,7 @@ static void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm) ...@@ -686,7 +686,7 @@ static void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm)
if (trans_len) if (trans_len)
file_len += trans_len; file_len += trans_len;
dump_file = vmalloc(file_len); dump_file = vzalloc(file_len);
if (!dump_file) if (!dump_file)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment