From 070cd05c9418e6ac8268968a6dbde09dae2e9b64 Mon Sep 17 00:00:00 2001 From: Soumya Bhat Date: Mon, 27 Mar 2017 12:26:56 +0530 Subject: [PATCH] qcacmn: Add new WMI API to unregister event handler Add new API to unregister event handler to allow converged components to move to common eventid space. Change-Id: I97f096ff3e36bc7923718498c535fb6c3c50e7e7 CRs-Fixed: 2023157 --- wmi_unified_api.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wmi_unified_api.h b/wmi_unified_api.h index ca7fd63c9d..e0800051f3 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -220,6 +220,17 @@ wmi_unified_register_event_handler(wmi_unified_t wmi_handle, wmi_unified_event_handler handler_func, uint8_t rx_ctx); +/** + * WMI event handler unregister function for converged componets + * + * @param wmi_handle : handle to WMI. + * @param event_id : WMI event ID + * @return 0 on success and -ve on failure. + */ +int +wmi_unified_unregister_event(wmi_unified_t wmi_handle, + uint32_t event_id); + /** * WMI event handler unregister function *