summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/SME/src/csr/csrApiRoam.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 8dfd3df22cae..15ec5eee47b1 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -4558,6 +4558,12 @@ static eCsrJoinState csrRoamJoinNextBss( tpAniSirGlobal pMac, tSmeCmd *pCommand,
}
}
}
+
+ if (!pRoamInfo)
+ pRoamInfo = &roamInfo;
+
+ pRoamInfo->u.pConnectedProfile = &pSession->connectedProfile;
+
//We have something to roam, tell HDD when it is infra.
//For IBSS, the indication goes back to HDD via eCSR_ROAM_IBSS_IND
//For WDS, the indication is eCSR_ROAM_WDS_IND