提交 a3ce5ccd 编写于 作者: D Dedy Lansky 提交者: Kalle Valo

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: NDedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册