Procházet zdrojové kódy

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 před 7 roky
rodič
revize
0ec675d2cd
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;