Commit 2b2719c7 authored by Johannes Berg's avatar Johannes Berg

iwlwifi: print opmode when firmware is loaded

Print the sub-driver (opmode, i.e. DVM or MVM) when the
firmware is loaded.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4d1c4b1a
...@@ -912,8 +912,6 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context) ...@@ -912,8 +912,6 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context)
} }
} }
IWL_INFO(drv, "loaded firmware version %s", drv->fw.fw_version);
/* /*
* In mvm uCode there is no difference between data and instructions * In mvm uCode there is no difference between data and instructions
* sections. * sections.
...@@ -970,6 +968,9 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context) ...@@ -970,6 +968,9 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context)
else else
op = &iwlwifi_opmode_table[DVM_OP_MODE]; op = &iwlwifi_opmode_table[DVM_OP_MODE];
IWL_INFO(drv, "loaded firmware version %s op_mode %s\n",
drv->fw.fw_version, op->name);
/* add this device to the list of devices using this op_mode */ /* add this device to the list of devices using this op_mode */
list_add_tail(&drv->list, &op->drv); list_add_tail(&drv->list, &op->drv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment