|
@@ -628,6 +628,7 @@ static int __iwm_up(struct iwm_priv *iwm)
|
|
{
|
|
{
|
|
int ret;
|
|
int ret;
|
|
struct iwm_notif *notif_reboot, *notif_ack = NULL;
|
|
struct iwm_notif *notif_reboot, *notif_ack = NULL;
|
|
|
|
+ struct wiphy *wiphy = iwm_to_wiphy(iwm);
|
|
|
|
|
|
ret = iwm_bus_enable(iwm);
|
|
ret = iwm_bus_enable(iwm);
|
|
if (ret) {
|
|
if (ret) {
|
|
@@ -689,6 +690,9 @@ static int __iwm_up(struct iwm_priv *iwm)
|
|
goto err_disable;
|
|
goto err_disable;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "L%s_U%s",
|
|
|
|
+ iwm->lmac_version, iwm->umac_version);
|
|
|
|
+
|
|
/* We configure the UMAC and enable the wifi module */
|
|
/* We configure the UMAC and enable the wifi module */
|
|
ret = iwm_send_umac_config(iwm,
|
|
ret = iwm_send_umac_config(iwm,
|
|
cpu_to_le32(UMAC_RST_CTRL_FLG_WIFI_CORE_EN) |
|
|
cpu_to_le32(UMAC_RST_CTRL_FLG_WIFI_CORE_EN) |
|