diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-06-25 16:21:43 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-07-06 11:16:15 +0300 |
commit | 5bfe6f53283de44855ee45a102210abbfac995f9 (patch) | |
tree | 7857464469ee2195e03b5dcc97040367329076d3 | |
parent | 655e6d6db21b0c0d411aef9d816816fb68b0496c (diff) |
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>
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 9661a526ed5..5e425d3fdde 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c @@ -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; |