diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-10-31 10:28:32 +0100 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2020-01-04 12:46:14 +0200 |
commit | 55b514b479ff8a6e2473e7ef2349d49380c5fa61 (patch) | |
tree | 438e9817972c8d9489bb98aaede219cb77bdd46a /drivers/net/wireless/intel/iwlwifi/fw/img.h | |
parent | e701da0c2320148a378ed1d191b6c4f7e8e82c4c (diff) | |
download | blackbird-op-linux-55b514b479ff8a6e2473e7ef2349d49380c5fa61.tar.gz blackbird-op-linux-55b514b479ff8a6e2473e7ef2349d49380c5fa61.zip |
iwlwifi: incorporate firmware filename into version
We have many different firmware images with the same version,
and it's sometimes cumbersome to figure out which image was
really used, especially as the marketing strings that we do
print out can be the same for (slightly) different hardware
using different firmware images.
Incorporate the firmware filename into the fw_version so it's
printed out all the time. Unfortunately, this will make the
string be longer than the 32 characters for ethtool, but we
almost never really use ethtool, so strip the "iwlwifi-"
prefix (if not overridden), and the remaining data that may
then be stripped at the end is not usually useful anyway.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/img.h')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/img.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/img.h b/drivers/net/wireless/intel/iwlwifi/fw/img.h index 994880a83652..90ca5f929cf9 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/img.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/img.h @@ -251,7 +251,7 @@ struct iwl_fw_dbg { struct iwl_fw { u32 ucode_ver; - char fw_version[ETHTOOL_FWVERS_LEN]; + char fw_version[64]; /* ucode images */ struct fw_img img[IWL_UCODE_TYPE_MAX]; |