Browse Source

qcacmn: Fix excessive logging

kmsg is flooded with excessive logs from wmi_control_rx.

Fix is to change log level to debug.

Change-Id: I327463387a5dac318ecc0ad7e773006cfc09b42a
CRs-Fixed: 2073718
yeshwanth sriram guntuka 7 years ago
parent
commit
1276a11b8e
1 changed files with 2 additions and 3 deletions
  1. 2 3
      wmi/src/wmi_unified.c

+ 2 - 3
wmi/src/wmi_unified.c

@@ -2353,9 +2353,8 @@ 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)) {
-		qdf_print
-		("%s :event handler is not registered: event id 0x%x\n",
-			__func__, id);
+		WMI_LOGD("%s :event handler is not registered: event id 0x%x\n",
+				 __func__, id);
 		qdf_nbuf_free(evt_buf);
 		return;
 	}