Ver Fonte

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
Nitesh Shah há 8 anos atrás
pai
commit
d11bfa2420
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      core/hdd/src/wlan_hdd_assoc.c

+ 4 - 1
core/hdd/src/wlan_hdd_assoc.c

@@ -1199,9 +1199,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;