瀏覽代碼

qcacmn: Add verbose print in wmi_register_event_handler

Add verbose information print in register_event_handler

CRs-Fixed: 2071681
Change-Id: Icf2a81b71a97a0d01a9771ad998f96b5d10f6cb6
Adil Saeed Musthafa 7 年之前
父節點
當前提交
0ec675d2cd
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      wmi/src/wmi_unified.c

+ 2 - 0
wmi/src/wmi_unified.c

@@ -2144,6 +2144,8 @@ int wmi_unified_register_event_handler(wmi_unified_t wmi_handle,
 		       __func__, evt_id);
 		return QDF_STATUS_E_FAILURE;
 	}
+	QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_DEBUG,
+			"Registered event handler for event 0x%8x\n", evt_id);
 	idx = soc->max_event_idx;
 	wmi_handle->event_handler[idx] = handler_func;
 	wmi_handle->event_id[idx] = evt_id;