summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/wil6210/wmi.c
diff options
context:
space:
mode:
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>2014-09-10 16:34:41 +0300
committerJohn W. Linville <linville@tuxdriver.com>2014-09-11 15:27:37 -0400
commit4cf99c93d24f9cdd338ab23cd671e949ee6ca1bd (patch)
tree485d9683c134a9b61c63533b7c95e4d597f96b3a /drivers/net/wireless/ath/wil6210/wmi.c
parent8c86f757b1c0a154cb8939b0fff3aaa1ff9b1910 (diff)
downloadlwn-4cf99c93d24f9cdd338ab23cd671e949ee6ca1bd.tar.gz
lwn-4cf99c93d24f9cdd338ab23cd671e949ee6ca1bd.zip
wil6210: modify confusing printout
When WMI event received when driver not ready to accept it, the printed error message is misleading and hints that HW is stuck. Modify the error message to make it clearer Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com> Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wmi.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wmi.c b/drivers/net/wireless/ath/wil6210/wmi.c
index c71657bb8ce1..ad48f14c305c 100644
--- a/drivers/net/wireless/ath/wil6210/wmi.c
+++ b/drivers/net/wireless/ath/wil6210/wmi.c
@@ -660,7 +660,7 @@ void wmi_recv_cmd(struct wil6210_priv *wil)
unsigned n;
if (!test_bit(wil_status_reset_done, &wil->status)) {
- wil_err(wil, "Reset not completed\n");
+ wil_err(wil, "Reset in progress. Cannot handle WMI event\n");
return;
}