Browse Source

ath10k: print wmi version info

HTT version is already printed so print WMI
version as well for consistency.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Michal Kazior 11 years ago
parent
commit
34b28b6e9a
1 changed files with 6 additions and 2 deletions
  1. 6 2
      drivers/net/wireless/ath/ath10k/debug.c

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

@@ -126,14 +126,18 @@ 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\n",
+	ath10k_info(ar, "%s (0x%08x, 0x%08x) fw %s api %d htt %d.%d wmi %d.%d.%d.%d\n",
 		    ar->hw_params.name,
 		    ar->hw_params.name,
 		    ar->target_version,
 		    ar->target_version,
 		    ar->chip_id,
 		    ar->chip_id,
 		    ar->hw->wiphy->fw_version,
 		    ar->hw->wiphy->fw_version,
 		    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);
 	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",
 		    config_enabled(CONFIG_ATH10K_DEBUG),
 		    config_enabled(CONFIG_ATH10K_DEBUG),
 		    config_enabled(CONFIG_ATH10K_DEBUGFS),
 		    config_enabled(CONFIG_ATH10K_DEBUGFS),