diff options
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/main.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/main.c b/drivers/net/wireless/iwmc3200wifi/main.c index 952701e6127e..f93e9139b0f2 100644 --- a/drivers/net/wireless/iwmc3200wifi/main.c +++ b/drivers/net/wireless/iwmc3200wifi/main.c | |||
@@ -628,6 +628,7 @@ static int __iwm_up(struct iwm_priv *iwm) | |||
628 | { | 628 | { |
629 | int ret; | 629 | int ret; |
630 | struct iwm_notif *notif_reboot, *notif_ack = NULL; | 630 | struct iwm_notif *notif_reboot, *notif_ack = NULL; |
631 | struct wiphy *wiphy = iwm_to_wiphy(iwm); | ||
631 | 632 | ||
632 | ret = iwm_bus_enable(iwm); | 633 | ret = iwm_bus_enable(iwm); |
633 | if (ret) { | 634 | if (ret) { |
@@ -689,6 +690,9 @@ static int __iwm_up(struct iwm_priv *iwm) | |||
689 | goto err_disable; | 690 | goto err_disable; |
690 | } | 691 | } |
691 | 692 | ||
693 | snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "L%s_U%s", | ||
694 | iwm->lmac_version, iwm->umac_version); | ||
695 | |||
692 | /* We configure the UMAC and enable the wifi module */ | 696 | /* We configure the UMAC and enable the wifi module */ |
693 | ret = iwm_send_umac_config(iwm, | 697 | ret = iwm_send_umac_config(iwm, |
694 | cpu_to_le32(UMAC_RST_CTRL_FLG_WIFI_CORE_EN) | | 698 | cpu_to_le32(UMAC_RST_CTRL_FLG_WIFI_CORE_EN) | |