qcacmn: Add debug print before calling WMI event handler
Print the Event ID before calling WMI event handler
CRs-Fixed: 2086665
Change-Id: Ie1b758a17882743fa4871b6ce4725c986769b01b
diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c
index cafd725..e87fab6 100644
--- a/wmi/src/wmi_unified.c
+++ b/wmi/src/wmi_unified.c
@@ -2453,6 +2453,8 @@
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,