summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBala Shanmugam Kamatchi <bkamatch@qti.qualcomm.com>2014-03-15 05:15:41 +0530
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-03-19 13:16:50 -0700
commit0fc096f7d1f8cd68a6cd40f8264eac01f693c2be (patch)
tree6ff5c8281d39f32f9a7189478440d7874803dc65
parentb8da7a3f4d54b595fec8adbcf862f0b1647cb7b9 (diff)
qcacld: hdd: Do not send Tspec if ACM is not set.
When implicit QoS is enabled and if admission control is not enabled in AP, do not initiate ADDTS negotiation as it is not required. Change-Id: I418eb0a5c6ad897c657b687d52a31df9ed32a25a CRs-Fixed: 631739
-rw-r--r--CORE/HDD/src/wlan_hdd_wmm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wmm.c b/CORE/HDD/src/wlan_hdd_wmm.c
index dae24b0fe211..03bad2d8c540 100644
--- a/CORE/HDD/src/wlan_hdd_wmm.c
+++ b/CORE/HDD/src/wlan_hdd_wmm.c
@@ -2032,7 +2032,9 @@ VOS_STATUS hdd_wmm_acquire_access( hdd_adapter_t* pAdapter,
VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO_LOW,
"%s: Entered for AC %d", __func__, acType);
- if (!hdd_wmm_is_active(pAdapter) || !(WLAN_HDD_GET_CTX(pAdapter))->cfg_ini->bImplicitQosEnabled)
+ if (!hdd_wmm_is_active(pAdapter) ||
+ !(WLAN_HDD_GET_CTX(pAdapter))->cfg_ini->bImplicitQosEnabled ||
+ !pAdapter->hddWmmStatus.wmmAcStatus[acType].wmmAcAccessRequired)
{
// either we don't want QoS or the AP doesn't support QoS
// or we don't want to do implicit QoS