summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaochang Duan <xduan@qca.qualcomm.com>2014-08-01 16:50:49 -0700
committerPitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com>2014-08-06 13:37:06 +0530
commit94f323e190c5079482251ce0be40cd73bc7ed104 (patch)
tree796b90c3ff6bc6edac9f2b2f40d3d9395b60a5b1
parentaf4d22df62cdde1a9f6a9470525d3367d6304096 (diff)
qcacld: fix the issue in number of connected TDLS peers
When P-UAPSD is enabled and connected peer number is 1, TDLS teardown is triggered during scan. The root cause is that the connected peer's link status is not updated properly during NL80211_TDLS_DISABLE_LINK timeout handling: the connected TDLS peer's link status is changed to eTDLS_LINK_IDLE and this prevents the peer number from being properly updated later. Fix this issue by removing the code that updates the link status in the NL80211_TDLS_DISABLE_LINK timeout handling. Change-Id: Ifd7266e470674a06656895508d753636561f719e CRs-Fixed: 695477
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index a2f478f6a268..ea7b8bb1c749 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -12548,7 +12548,6 @@ static int __wlan_hdd_cfg80211_tdls_oper(struct wiphy *wiphy,
rc = wait_for_completion_timeout(&pAdapter->tdls_del_station_comp,
msecs_to_jiffies(WAIT_TIME_TDLS_DEL_STA));
if (!rc) {
- wlan_hdd_tdls_set_peer_link_status(pTdlsPeer, eTDLS_LINK_IDLE);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
"%s: Del station timed out", __func__);
return -EPERM;