ath10k: print ath10k wmi op version
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 17 Dec 2014 10:21:03 +0000 (12:21 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 23 Dec 2014 15:18:03 +0000 (17:18 +0200)
The internal firmware version doesn't tell much to the user, it's more
informative to use that field to print the wmi op version.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c

index 70a9599aeb7a8ece9b40df72bd8bf8e962360ebf..6ca24427e18487b9e609d4a7f9209742183e7ebe 100644 (file)
@@ -124,7 +124,7 @@ EXPORT_SYMBOL(ath10k_info);
 
 void ath10k_print_driver_info(struct ath10k *ar)
 {
-       ath10k_info(ar, "%s (0x%08x, 0x%08x) fw %s api %d htt %d.%d wmi %d.%d.%d.%d cal %s max_sta %d\n",
+       ath10k_info(ar, "%s (0x%08x, 0x%08x) fw %s api %d htt %d.%d wmi %d cal %s max_sta %d\n",
                    ar->hw_params.name,
                    ar->target_version,
                    ar->chip_id,
@@ -132,10 +132,7 @@ void ath10k_print_driver_info(struct ath10k *ar)
                    ar->fw_api,
                    ar->htt.target_version_major,
                    ar->htt.target_version_minor,
-                   ar->fw_version_major,
-                   ar->fw_version_minor,
-                   ar->fw_version_release,
-                   ar->fw_version_build,
+                   ar->wmi.op_version,
                    ath10k_cal_mode_str(ar->cal_mode),
                    ar->max_num_stations);
        ath10k_info(ar, "debug %d debugfs %d tracing %d dfs %d testmode %d\n",