Browse Source

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
Visweswara Tanuku 5 years ago
parent
commit
1a5e992075
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/wma/src/wma_main.c

+ 2 - 2
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);
 }