summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitesh Shah <niteshs@codeaurora.org>2016-12-22 12:06:23 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-06 20:50:29 -0800
commit09695769e5a0c7b6518caf56bce7bd296f57ff38 (patch)
tree23cff0925840210f128c038e8ac309b97e536c73
parentd7e99e9a523a71ae28953cff1f8a2727809cc8d7 (diff)
qcacld-3.0: Decrement TDLS state count while association in LFR
In LFR, there is no disconnection event, thus the TDLS state count does not get decremented. Thus, while associating with new BSS, the TDLS connection does not happen. Fix is to decrement TDLS state count while association occurs in LFR. Change-Id: I1b90174b6bc25bb701ffc83a85453d8edd586738 CRs-Fixed: 1104369
-rw-r--r--core/hdd/src/wlan_hdd_assoc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index da532aaba542..0ae82a0caaf6 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -1196,9 +1196,12 @@ static void hdd_send_association_event(struct net_device *dev,
we_event = SIOCGIWAP;
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
if (NULL != pCsrRoamInfo)
- if (pCsrRoamInfo->roamSynchInProgress)
+ if (pCsrRoamInfo->roamSynchInProgress) {
/* change logging before release */
hdd_info("LFR3:hdd_send_association_event");
+ /* Update tdls module about the disconnection event */
+ wlan_hdd_tdls_notify_disconnect(pAdapter);
+ }
#endif
if (eConnectionState_Associated == pHddStaCtx->conn_info.connState) {
tSirSmeChanInfo chan_info;