mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
655e6d6db2
commit
5bfe6f5328
1 changed files with 1 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ static void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm)
|
|||
if (trans_len)
|
||||
file_len += trans_len;
|
||||
|
||||
dump_file = vmalloc(file_len);
|
||||
dump_file = vzalloc(file_len);
|
||||
if (!dump_file)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue