diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-06-02 07:34:53 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-06-24 20:55:26 +0200 |
commit | 06ddbf5adac1fd2a031eade8a92239abfa6db93a (patch) | |
tree | 99c5c8ad495d0b6603d5ff87d103105d06b985b4 /drivers/net/wireless/iwlwifi/iwl-drv.c | |
parent | iwlwifi: remove MCS32 support declaration (diff) | |
download | linux-06ddbf5adac1fd2a031eade8a92239abfa6db93a.tar.xz linux-06ddbf5adac1fd2a031eade8a92239abfa6db93a.zip |
iwlwifi: add device / firmware to fw-error-dump file
This can be useful later for parsing since the parsing may
differ based on the device's family / bus.
Also add the human readable version of the firmware.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-drv.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-drv.c b/drivers/net/wireless/iwlwifi/iwl-drv.c index bf584d3fe8ec..01a426871ffb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-drv.c +++ b/drivers/net/wireless/iwlwifi/iwl-drv.c @@ -567,6 +567,8 @@ static int iwl_parse_tlv_firmware(struct iwl_drv *drv, } drv->fw.ucode_ver = le32_to_cpu(ucode->ver); + memcpy(drv->fw.human_readable, ucode->human_readable, + sizeof(drv->fw.human_readable)); build = le32_to_cpu(ucode->build); if (build) |