Selaa lähdekoodia

qcacmn: Add debug print before calling WMI event handler

Print the Event ID before calling WMI event handler

CRs-Fixed: 2086665
Change-Id: Ie1b758a17882743fa4871b6ce4725c986769b01b
Adil Saeed Musthafa 7 vuotta sitten
vanhempi
sitoutus
f5bed16eb4
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      wmi/src/wmi_unified.c

+ 2 - 0
wmi/src/wmi_unified.c

@@ -2453,6 +2453,8 @@ void __wmi_control_rx(struct wmi_unified *wmi_handle, wmi_buf_t evt_buf)
 		qdf_spin_unlock_bh(&wmi_handle->log_info.wmi_record_lock);
 	}
 #endif
+	QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_DEBUG,
+			"Calling handler for WMI Event ID:%x\n", id);
 	/* Call the WMI registered event handler */
 	if (wmi_handle->target_type == WMI_TLV_TARGET)
 		wmi_handle->event_handler[idx] (wmi_handle->scn_handle,