From: Dedy Lansky Date: Thu, 30 Jul 2015 10:51:58 +0000 (+0300) Subject: wil6210: treat "unhandled event" as warning instead of error X-Git-Tag: v4.3-rc1~96^2~124^2~10^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a3ce5ccd50ee24313fa3e55d2cafc6da7dfcbe18;p=karo-tx-linux.git wil6210: treat "unhandled event" as warning instead of error 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 Signed-off-by: Vladimir Kondratiev Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/wil6210/wmi.c b/drivers/net/wireless/ath/wil6210/wmi.c index 349f14ae9944..fbcea838ccfa 100644 --- a/drivers/net/wireless/ath/wil6210/wmi.c +++ b/drivers/net/wireless/ath/wil6210/wmi.c @@ -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");