Commit a3ce5ccd authored by Dedy Lansky's avatar Dedy Lansky Committed by Kalle Valo
Browse files

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: default avatarDedy Lansky <>
Signed-off-by: default avatarVladimir Kondratiev <>
Signed-off-by: default avatarKalle Valo <>
parent 90d89e9a
...@@ -1340,7 +1340,7 @@ static void wmi_event_handle(struct wil6210_priv *wil, ...@@ -1340,7 +1340,7 @@ static void wmi_event_handle(struct wil6210_priv *wil,
/* search for handler */ /* search for handler */
if (!wmi_evt_call_handler(wil, id, evt_data, if (!wmi_evt_call_handler(wil, id, evt_data,
len - sizeof(*wmi))) { len - sizeof(*wmi))) {
wil_err(wil, "Unhandled event 0x%04x\n", id); wil_info(wil, "Unhandled event 0x%04x\n", id);
} }
} else { } else {
wil_err(wil, "Unknown event type\n"); wil_err(wil, "Unknown event type\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment