diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index fa1672e99e4b..05d1070e22d0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -1377,6 +1377,14 @@ static int iwl_read_ucode(struct iwl_priv *priv) | |||
1377 | IWL_UCODE_API(priv->ucode_ver), | 1377 | IWL_UCODE_API(priv->ucode_ver), |
1378 | IWL_UCODE_SERIAL(priv->ucode_ver)); | 1378 | IWL_UCODE_SERIAL(priv->ucode_ver)); |
1379 | 1379 | ||
1380 | snprintf(priv->hw->wiphy->fw_version, | ||
1381 | sizeof(priv->hw->wiphy->fw_version), | ||
1382 | "%u.%u.%u.%u", | ||
1383 | IWL_UCODE_MAJOR(priv->ucode_ver), | ||
1384 | IWL_UCODE_MINOR(priv->ucode_ver), | ||
1385 | IWL_UCODE_API(priv->ucode_ver), | ||
1386 | IWL_UCODE_SERIAL(priv->ucode_ver)); | ||
1387 | |||
1380 | if (build) | 1388 | if (build) |
1381 | IWL_DEBUG_INFO(priv, "Build %u\n", build); | 1389 | IWL_DEBUG_INFO(priv, "Build %u\n", build); |
1382 | 1390 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index bfd7f497157f..5c80a83eb2e1 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -2160,6 +2160,14 @@ static int iwl3945_read_ucode(struct iwl_priv *priv) | |||
2160 | IWL_UCODE_API(priv->ucode_ver), | 2160 | IWL_UCODE_API(priv->ucode_ver), |
2161 | IWL_UCODE_SERIAL(priv->ucode_ver)); | 2161 | IWL_UCODE_SERIAL(priv->ucode_ver)); |
2162 | 2162 | ||
2163 | snprintf(priv->hw->wiphy->fw_version, | ||
2164 | sizeof(priv->hw->wiphy->fw_version), | ||
2165 | "%u.%u.%u.%u", | ||
2166 | IWL_UCODE_MAJOR(priv->ucode_ver), | ||
2167 | IWL_UCODE_MINOR(priv->ucode_ver), | ||
2168 | IWL_UCODE_API(priv->ucode_ver), | ||
2169 | IWL_UCODE_SERIAL(priv->ucode_ver)); | ||
2170 | |||
2163 | IWL_DEBUG_INFO(priv, "f/w package hdr ucode version raw = 0x%x\n", | 2171 | IWL_DEBUG_INFO(priv, "f/w package hdr ucode version raw = 0x%x\n", |
2164 | priv->ucode_ver); | 2172 | priv->ucode_ver); |
2165 | IWL_DEBUG_INFO(priv, "f/w package hdr runtime inst size = %u\n", | 2173 | IWL_DEBUG_INFO(priv, "f/w package hdr runtime inst size = %u\n", |