wil6210: modify confusing printout
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>
Wed, 10 Sep 2014 13:34:41 +0000 (16:34 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2014 19:27:37 +0000 (15:27 -0400)
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>
drivers/net/wireless/ath/wil6210/wmi.c

index c71657bb8ce14676d3e75a63c2edef7c8331e43b..ad48f14c305c105820a02b41de15755a9f1e4682 100644 (file)
@@ -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;
        }
 
This page took 0.026739 seconds and 5 git commands to generate.