summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2018-01-24 15:08:21 -0800
committersnandini <snandini@codeaurora.org>2018-01-25 11:30:48 -0800
commit6e8aadbb8bee8beeba31c4c1a3415dfe3add34cd (patch)
tree23b3a0a07257d08dd8390ec7ae90647624b87e89
parente3b1bf1ec640b2e8394b548f0ee7d170765ff05a (diff)
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
-rw-r--r--core/wma/src/wma_features.c2
1 files changed, 1 insertions, 1 deletions
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);
}