From 5bfe6f53283de44855ee45a102210abbfac995f9 Mon Sep 17 00:00:00 2001 From: Emmanuel Grumbach Date: Wed, 25 Jun 2014 16:21:43 +0300 Subject: [PATCH] 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 --- drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 9661a526ed51..5e425d3fddeb 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; -- 2.34.1