]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wil6210: treat "unhandled event" as warning instead of error
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>
Thu, 30 Jul 2015 10:51:58 +0000 (13:51 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 6 Aug 2015 06:43:11 +0000 (09:43 +0300)
FW is allowed to generate WMI events that are not handled by this driver.
Treat such case as warning instead of error.

Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/wmi.c

index 349f14ae9944ea514490cb2de9561ec4255b45ae..fbcea838ccfa8c45b3ad646663fb45dc549ea056 100644 (file)
@@ -1340,7 +1340,7 @@ static void wmi_event_handle(struct wil6210_priv *wil,
                /* search for handler */
                if (!wmi_evt_call_handler(wil, id, evt_data,
                                          len - sizeof(*wmi))) {
-                       wil_err(wil, "Unhandled event 0x%04x\n", id);
+                       wil_info(wil, "Unhandled event 0x%04x\n", id);
                }
        } else {
                wil_err(wil, "Unknown event type\n");