From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Thu, 02 May 2013 12:02:16 +0300 Subject: [ath9k-devel] [PATCH 1/2] ath10k: print firmware version string during boot In-Reply-To: <20130502090142.2932.3314.stgit@localhost6.localdomain6> References: <20130502090142.2932.3314.stgit@localhost6.localdomain6> Message-ID: <20130502090216.2932.4510.stgit@localhost6.localdomain6> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 --- 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;