TDLS: Transit Peer STA ID to AUTHENTICATED on ENALBE_LINK.
Add TDLS Peer in CONNECTED state initially and move it to
AUTHENTICATED state on ENABLE_LINK.
Change-Id: Id1f79ad846d201803e3e3805e5db3956ba65c34d
CRs-fixed: 471056
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c
index 2eb2152..2878d7d 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -2071,7 +2071,7 @@
staDesc.ucIsReplayCheckValid = VOS_FALSE;
#endif
- staDesc.ucInitState = WLANTL_STA_AUTHENTICATED ;
+ staDesc.ucInitState = WLANTL_STA_CONNECTED ;
/* Register the Station with TL... */
vosStatus = WLANTL_RegisterSTAClient( pVosContext,
@@ -2190,10 +2190,14 @@
}
(WLAN_HDD_GET_CTX(pAdapter))->sta_to_adapter[pRoamInfo->staId] = pAdapter;
- /* store the ucast signature which will be used later when
- registering to TL
- */
+ /* store the ucast signature , if required for further reference. */
+
wlan_hdd_tdls_set_signature( pAdapter, pRoamInfo->peerMac, pRoamInfo->ucastSig );
+ /* start TDLS client registration with TL */
+ status = hdd_roamRegisterTDLSSTA( pAdapter,
+ pRoamInfo->peerMac,
+ pRoamInfo->staId,
+ pRoamInfo->ucastSig);
}
else
{