mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Send WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID if BPF enabled
Send WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID only if BPF is enabled in .ini file. Change-Id: Ia093cfaa0ff44e4052150ee943e363ca6412cbe0 CRs-Fixed: 2362929
This commit is contained in:
parent
50bc9ad9e8
commit
ce05896f39
1 changed files with 2 additions and 1 deletions
|
|
@ -3053,7 +3053,8 @@ struct cdp_vdev *wma_vdev_attach(tp_wma_handle wma_handle,
|
|||
WMA_LOGE("Failed to get value for WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED, leaving unchanged");
|
||||
}
|
||||
|
||||
if (self_sta_req->type == WMI_VDEV_TYPE_STA) {
|
||||
if ((self_sta_req->type == WMI_VDEV_TYPE_STA) &&
|
||||
(ucfg_pmo_is_apf_enabled(wma_handle->psoc))) {
|
||||
ret = wma_config_active_apf_mode(wma_handle,
|
||||
self_sta_req->session_id);
|
||||
if (QDF_IS_STATUS_ERROR(ret))
|
||||
|
|
|
|||
Loading…
Reference in a new issue