浏览代码

ath10k: print ath10k wmi op version

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>
Kalle Valo 10 年之前
父节点
当前提交
ffdd07576f
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. 2 5
      drivers/net/wireless/ath/ath10k/debug.c

+ 2 - 5
drivers/net/wireless/ath/ath10k/debug.c

@@ -124,7 +124,7 @@ EXPORT_SYMBOL(ath10k_info);
 
 
 void ath10k_print_driver_info(struct ath10k *ar)
 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->hw_params.name,
 		    ar->target_version,
 		    ar->target_version,
 		    ar->chip_id,
 		    ar->chip_id,
@@ -132,10 +132,7 @@ void ath10k_print_driver_info(struct ath10k *ar)
 		    ar->fw_api,
 		    ar->fw_api,
 		    ar->htt.target_version_major,
 		    ar->htt.target_version_major,
 		    ar->htt.target_version_minor,
 		    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),
 		    ath10k_cal_mode_str(ar->cal_mode),
 		    ar->max_num_stations);
 		    ar->max_num_stations);
 	ath10k_info(ar, "debug %d debugfs %d tracing %d dfs %d testmode %d\n",
 	ath10k_info(ar, "debug %d debugfs %d tracing %d dfs %d testmode %d\n",