From 4bbf40a0eb38711ab44ced57e3c036e56a955ca1 Mon Sep 17 00:00:00 2001 From: "Sen, Devendra" Date: Thu, 29 Sep 2016 17:42:25 +0530 Subject: [PATCH] qcacld-3.0: Fix TDLS peer QoS capability in transport layer qcacld-2.0 to qcacld-3.0 propagation In __wlan_hdd_cfg80211_tdls_oper, since IS_ADVANCE_TDLS_ENABLE is disabled, the tdlsLinkEstablishParams does not get populated with correct QoS capability of the peer. The transport layer is then configured with this wrong capability. This results in all packets, independent of TID, enqueued into BE queue. Fix this by getting the QoS capability from hddTdlsPeer_t. Change-Id: Iafbd416026c9a0e4b05654ec810b0e0f3546beba CRs-Fixed: 1010915 --- core/hdd/src/wlan_hdd_tdls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_tdls.c b/core/hdd/src/wlan_hdd_tdls.c index 77a560d04979..6204e72aee8b 100644 --- a/core/hdd/src/wlan_hdd_tdls.c +++ b/core/hdd/src/wlan_hdd_tdls.c @@ -4499,7 +4499,7 @@ static int __wlan_hdd_cfg80211_tdls_oper(struct wiphy *wiphy, pAdapter, peer, pTdlsPeer->staId, pTdlsPeer->signature, - tdlsLinkEstablishParams.qos); + pTdlsPeer->qos); if (QDF_STATUS_SUCCESS == status) { uint8_t i;