prima: Fix state transition during Roaming
While Reassociation is in progress, if roaming logic receives look up
RSSI event, then neighbor roam state changes to
eCSR_NEIGHBOR_ROAM_STATE_CONNECTED before csrRoamLinkUp kicks in.
In such case, connected BSSID will not be updated properly. Fix this.
Change-Id: Ic331e4a47692c46e484d9b792d8581e2c47842c5
CRs-Fixed: 696471
diff --git a/CORE/SME/src/csr/csrNeighborRoam.c b/CORE/SME/src/csr/csrNeighborRoam.c
index 02b4e50..f012bbc 100644
--- a/CORE/SME/src/csr/csrNeighborRoam.c
+++ b/CORE/SME/src/csr/csrNeighborRoam.c
@@ -3763,7 +3763,8 @@
csrNeighborRoamDeregAllRssiIndication(pMac);
/* Recheck whether the below check is needed. */
- if (pNeighborRoamInfo->neighborRoamState != eCSR_NEIGHBOR_ROAM_STATE_CONNECTED)
+ if ((pNeighborRoamInfo->neighborRoamState != eCSR_NEIGHBOR_ROAM_STATE_CONNECTED)
+ && (pNeighborRoamInfo->neighborRoamState != eCSR_NEIGHBOR_ROAM_STATE_REASSOCIATING))
CSR_NEIGHBOR_ROAM_STATE_TRANSITION(eCSR_NEIGHBOR_ROAM_STATE_CONNECTED)
#ifdef FEATURE_WLAN_LFR
if (!csrRoamIsFastRoamEnabled(pMac,pMac->roam.neighborRoamInfo.csrSessionId))