Currently we don't print firmware version at all. Move the
current "firmware dowloaded" message later once firmware
has booted and include firmware version in the message.

Signed-off-by: Kalle Valo <kv...@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/core.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/core.c 
b/drivers/net/wireless/ath/ath10k/core.c
index 13ffe78..a511aaf 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -375,7 +375,6 @@ static int ath10k_init_download_firmware(struct ath10k *ar)
        if (ret)
                return ret;
 
-       ath10k_info("firmware downloaded\n");
        return ret;
 }
 
@@ -569,6 +568,8 @@ int ath10k_core_register(struct ath10k *ar)
        if (status)
                goto err_htt_detach;
 
+       ath10k_info("firmware %s booted\n", ar->hw->wiphy->fw_version);
+
        status = ath10k_check_fw_version(ar);
        if (status)
                goto err_disconnect_htc;

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to