From: Kalle Valo <kvalo@qca.qualcomm.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 1/2] ath10k: print firmware version string during boot
Date: Thu, 02 May 2013 12:02:16 +0300 [thread overview]
Message-ID: <20130502090216.2932.4510.stgit@localhost6.localdomain6> (raw)
In-Reply-To: <20130502090142.2932.3314.stgit@localhost6.localdomain6>
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 <kvalo@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;
next prev parent reply other threads:[~2013-05-02 9:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-02 9:02 [ath9k-devel] [PATCH 0/2] ath10k: firmware version related changes Kalle Valo
2013-05-02 9:02 ` Kalle Valo [this message]
2013-05-02 9:02 ` [ath9k-devel] [PATCH 2/2] ath10k: only warn about incompatible firmware versions Kalle Valo
2013-05-02 9:18 ` Michal Kazior
2013-05-04 5:44 ` Kalle Valo
2013-05-04 5:46 ` [ath9k-devel] [PATCH 0/2] ath10k: firmware version related changes Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130502090216.2932.4510.stgit@localhost6.localdomain6 \
--to=kvalo@qca.qualcomm.com \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox