iwlwifi: mvm: update layout of firmware error dump
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 25 Jun 2014 13:21:43 +0000 (16:21 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 6 Jul 2014 08:16:15 +0000 (11:16 +0300)
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>
drivers/net/wireless/iwlwifi/mvm/mac80211.c

index 9661a526ed511fe963c3cbfc07d5bed38d2a4a12..5e425d3fddeb552b61b8a692954540b5cd321de7 100644 (file)
@@ -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;