From 6e8aadbb8bee8beeba31c4c1a3415dfe3add34cd Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 24 Jan 2018 15:08:21 -0800 Subject: qcacld-3.0: Fix "SAR get limits" to register actual TLV event The "SAR get limits" feature was originally developed on a version of the driver where event handling is abstracted. When this functionality was backported, the event handling abstraction was not updated. As a result when a "SAR get limits" command is sent to firmware, the corresponding response is not correctly handled by the host. To fix this issue register the actual TLV event ID instead of the abstracted event ID with the WMI event handler. Change-Id: Ibf9edec46fb5ac3d127444034895fffa7fe3425e CRs-Fixed: 2179036 --- core/wma/src/wma_features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index 6a9c204eb448..0c483aa94166 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -10417,7 +10417,7 @@ QDF_STATUS wma_sar_register_event_handlers(WMA_HANDLE handle) } return wmi_unified_register_event_handler(wmi_handle, - wmi_sar_get_limits_event_id, + WMI_SAR_GET_LIMITS_EVENTID, wma_sar_event_handler, WMA_RX_WORK_CTX); } -- cgit v1.2.3