From 1a5e992075ce020c24c2091bb2224eb7a5505037 Mon Sep 17 00:00:00 2001 From: Visweswara Tanuku Date: Fri, 18 Oct 2019 11:54:16 +0530 Subject: [PATCH] qcacld-3.0: Use correct event id while registering md events Use correct event ids while registering motion detection events Change-Id: I4328060dea7ac14459d194f98e92cd5ba518edd0 CRs-Fixed: 2548224 --- core/wma/src/wma_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index 08868e0574fb..726b4614f668 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -3003,13 +3003,13 @@ static void wma_register_md_events(tp_wma_handle wma_handle) } wmi_unified_register_event_handler(wma_handle->wmi_handle, - WMI_MOTION_DET_HOST_EVENTID, + wmi_motion_det_host_eventid, wma_motion_det_host_event_handler, WMA_RX_SERIALIZER_CTX); wmi_unified_register_event_handler( wma_handle->wmi_handle, - WMI_MOTION_DET_BASE_LINE_HOST_EVENTID, + wmi_motion_det_base_line_host_eventid, wma_motion_det_base_line_host_event_handler, WMA_RX_SERIALIZER_CTX); }