mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Fix 11k offload support check in wma_send_offload_11k_params
In function wma_send_offload_11k_params, check to support 11k offload in FW fails due to usage of older WMI_SERVICE_EXT_IS_ENABLED leading to 11k offload params not sent to FW. Add changes to use wmi_service_enabled instead of WMI_SERVICE_EXT_IS_ENABLED in wma_send_offload_11k_params. Change-Id: Ic71043f448d74066a234ae1cb9513a1580011abd CRs-Fixed: 2255255
This commit is contained in:
parent
0724417fbf
commit
b58161cf1f
1 changed files with 3 additions and 5 deletions
|
|
@ -1377,11 +1377,9 @@ QDF_STATUS wma_send_offload_11k_params(WMA_HANDLE handle,
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (!WMI_SERVICE_EXT_IS_ENABLED(wma_handle->wmi_service_bitmap,
|
||||
wma_handle->wmi_service_ext_bitmap,
|
||||
WMI_SERVICE_11K_NEIGHBOUR_REPORT_SUPPORT)) {
|
||||
WMA_LOGE("%s: FW doesn't support 11k offload",
|
||||
__func__);
|
||||
if (!wmi_service_enabled(wma_handle->wmi_handle,
|
||||
wmi_service_11k_neighbour_report_support)) {
|
||||
WMA_LOGE(FL("FW doesn't support 11k offload"));
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue