diff options
| author | Leela Venkata Kiran Kumar Reddy Chirala <kchirala@qca.qualcomm.com> | 2014-09-16 09:56:43 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-09-17 13:54:37 -0700 |
| commit | 7e70aa76859e50897124c78c2eb34fbcf0990996 (patch) | |
| tree | e9af3b4d94bbcec7d201f42baa2056d601cefd08 | |
| parent | ae8f7769d2c0692c2eb2208413253f38f3cff97d (diff) | |
WLAN:Fix for the crash in csrRoamCallCallBack
The commit "wlan: correct peer information in p2p connection event
to OEM App" is resulting in crash in csrRoamCallCallBack.this
commit fixes the crash.
Change-Id: I0e711b2fcf2988098e83edfc711874d21bbf3534
CRs-fixed: 725005
| -rw-r--r-- | CORE/SME/src/csr/csrApiRoam.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c index 6a55d36186e2..8dfd3df22cae 100644 --- a/CORE/SME/src/csr/csrApiRoam.c +++ b/CORE/SME/src/csr/csrApiRoam.c @@ -2587,7 +2587,8 @@ eHalStatus csrRoamCallCallback(tpAniSirGlobal pMac, tANI_U32 sessionId, tCsrRoam smsLog(pMac, LOG4, "Received RoamCmdStatus %d with Roam Result %d", u1, u2); - if (eCSR_ROAM_ASSOCIATION_COMPLETION == u1 && pRoamInfo) + if (eCSR_ROAM_ASSOCIATION_COMPLETION == u1 && + eCSR_ROAM_RESULT_ASSOCIATED == u2 && pRoamInfo) { smsLog(pMac, LOGW, " Assoc complete result = %d statusCode = %d reasonCode = %d", u2, pRoamInfo->statusCode, pRoamInfo->reasonCode); |
