From f88a90fad98752f17012ef70cd16aa4187922532 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Tue, 30 Oct 2018 10:00:37 -0700 Subject: [PATCH] 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 --- wmi/src/wmi_unified.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index 71c6feff38..c8cbe5cf75 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -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; }