qcacmn: Reduce 'no event handler registered' log
Change I9a14a3defc61462bf4c7a8f0278e258603b781c7 moved a log in wmi_control_rx indicating that a specific event Id has no associated handler from debug-level to error-level. This resulted in excessive logging, as the driver has no obligation to handle every event type received from firmware and very well might not want to handle every event type received from firmware. Restore the original debug-level to the log. Change-Id: I4b1118fef7e4752dbaaf796db2f9444927c7e178 CRs-Fixed: 2341953
This commit is contained in:
@@ -2099,8 +2099,7 @@ static void wmi_control_rx(void *ctx, HTC_PACKET *htc_packet)
|
||||
id = WMI_GET_FIELD(qdf_nbuf_data(evt_buf), WMI_CMD_HDR, COMMANDID);
|
||||
idx = wmi_unified_get_event_handler_ix(wmi_handle, id);
|
||||
if (qdf_unlikely(idx == A_ERROR)) {
|
||||
WMI_LOGE("%s :event handler is not registered: event id 0x%x\n",
|
||||
__func__, id);
|
||||
wmi_debug("no handler registered for event id 0x%x", id);
|
||||
qdf_nbuf_free(evt_buf);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user