Explorar el Código

qcacld-3.0: Fix to Wait for TDLS discovery request/response tx completion

qcacld-2.0 to qcacld-3.0 propagation

Currently, we are not waiting for tdls_mgmt_comp since supplicant doesn't
consider return status but if discvery request/response are sent and
mgmtTxCompletionStatus is not set to return status from FW then next
consecutive TDLS request's from supplicant are denied which will lead
to TDLS connection failure.

Fix is to wait for tdls_mgmt_comp for TDLS discover request/response and
then return success/failure status to supplicant.

Change-Id: I5e825b615095231412f3a82367babaa89e1ab5b3
CRs-Fixed: 973947
Masti, Narayanraddi hace 8 años
padre
commit
855607a147
Se han modificado 1 ficheros con 0 adiciones y 11 borrados
  1. 0 11
      core/hdd/src/wlan_hdd_tdls.c

+ 0 - 11
core/hdd/src/wlan_hdd_tdls.c

@@ -4032,17 +4032,6 @@ static int __wlan_hdd_cfg80211_tdls_mgmt(struct wiphy *wiphy,
 		}
 		mutex_unlock(&pHddCtx->tdls_lock);
 	}
-
-
-	if ((SIR_MAC_TDLS_DIS_REQ == action_code) ||
-	    (SIR_MAC_TDLS_DIS_RSP == action_code)) {
-		/* for DIS_REQ/DIS_RSP, supplicant does not consider the return
-		 * status. So no need to wait for tdls_mgmt_comp to
-		 * send ack status.
-		 */
-		hdd_info("tx done for frm %u", action_code);
-		return 0;
-	}
 	hdd_info("Wait for tdls_mgmt_comp. Timeout %u ms",
 		WAIT_TIME_TDLS_MGMT);