summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtul Mittal <atulmt@qti.qualcomm.com>2014-03-13 18:34:09 +0530
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-03-18 22:20:30 -0700
commit25495deaacddb0ef87f4c860288e103532d0ce70 (patch)
tree4e459766f5fd9691e8d778126b1f7e52894841d9
parent57c9452446ec4c1759aea5cbbff3840134129942 (diff)
qcacld : csr Roam state transition issue during disconnection
The csr roam state is moved to Joined in connected state but once deauth/disassoc is received the state is not chaged. Moving it to idle state. Change-Id: I2803ea3dbe81e9c97921107a1afcc5a0826c87cb CRs-fixed: 631130
-rw-r--r--CORE/SME/src/csr/csrApiRoam.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 115d372ccf1b..d5dc84c29cfe 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -10533,6 +10533,9 @@ eHalStatus csrRoamLostLink( tpAniSirGlobal pMac, tANI_U32 sessionId, tANI_U32 ty
if(!CSR_IS_INFRA_AP(&pSession->connectedProfile))
{
csrRoamCallCallback(pMac, sessionId, NULL, 0, eCSR_ROAM_LOSTLINK_DETECTED, result);
+ /*Move the state to Idle after disconnection*/
+ csrRoamStateChange( pMac, eCSR_ROAMING_STATE_IDLE, sessionId );
+
}
if ( eWNI_SME_DISASSOC_IND == type )