소스 검색

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 8 년 전
부모
커밋
d11bfa2420
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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;