diff options
| author | Chandrasekaran, Manishekar <cmshekar@qti.qualcomm.com> | 2014-09-18 13:13:13 +0530 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2014-09-19 21:29:30 +0530 |
| commit | d282e614b7facd11d0712e8efe0eedb65faaa145 (patch) | |
| tree | 9d11edb3d80d9df9480ec60e9b443befe3fa0ffa | |
| parent | 667586483074f9f8afedd040bfdfb03852078e98 (diff) | |
qcacld: Populate connected profile info during connect
During JOIN, the connected profile info is not being
populated. But, this info being accessed in the
callback functions and this is leading to crash. This
is fixed.
Change-Id: I0fa0d8baed7824fd303331fb044b2df9db51faff
CRs-Fixed: 725314
| -rw-r--r-- | CORE/SME/src/csr/csrApiRoam.c | 6 |
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 |
