summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-fw.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-01-06 03:12:51 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-07 06:06:31 +0100
commit81135548e697a24ab41944c4354953a71b0b9efe (patch)
treee909fe6680a88c12251e505e2bf0cfd09cbff976 /drivers/net/wireless/iwlwifi/iwl-fw.h
parentethtool: fix drvinfo strings set in drivers (diff)
downloadlinux-81135548e697a24ab41944c4354953a71b0b9efe.tar.xz
linux-81135548e697a24ab41944c4354953a71b0b9efe.zip
net: use ETHTOOL_FWVERS_LEN instead of ETHTOOL_BUSINFO_LEN for fw_ver strings
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-fw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw.h b/drivers/net/wireless/iwlwifi/iwl-fw.h
index d1a86b66bc51..715291eb7f8e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-fw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-fw.h
@@ -157,7 +157,7 @@ struct fw_img {
struct iwl_fw {
u32 ucode_ver;
- char fw_version[ETHTOOL_BUSINFO_LEN];
+ char fw_version[ETHTOOL_FWVERS_LEN];
/* ucode images */
struct fw_img img[IWL_UCODE_TYPE_MAX];