mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacmn: Converge on wmi service/ext service is enable
Converge on wmi service/ext service is enable Change-Id: Ib246befa72cce927bee157394cd22c7d1562d341 CRs-Fixed: 2152751
This commit is contained in:
parent
33e2307f42
commit
e52f36ef36
1 changed files with 6 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -122,11 +122,12 @@ target_if_tdls_set_uapsd(struct wlan_objmgr_psoc *psoc,
|
|||
struct sta_uapsd_trig_params *params)
|
||||
{
|
||||
QDF_STATUS ret;
|
||||
wmi_unified_t wmi_handle = GET_WMI_HDL_FROM_PSOC(psoc);
|
||||
|
||||
if (!WMI_SERVICE_IS_ENABLED(psoc->service_param.service_bitmap,
|
||||
WMI_STA_UAPSD_BASIC_AUTO_TRIG) ||
|
||||
!WMI_SERVICE_IS_ENABLED(psoc->service_param.service_bitmap,
|
||||
WMI_STA_UAPSD_VAR_AUTO_TRIG)) {
|
||||
if (!wmi_service_enabled(wmi_handle,
|
||||
wmi_sta_uapsd_basic_auto_trig) ||
|
||||
!wmi_service_enabled(wmi_handle,
|
||||
wmi_sta_uapsd_var_auto_trig)) {
|
||||
target_if_debug("Trigger uapsd is not supported vdev id %d",
|
||||
params->vdevid);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue