From 25495deaacddb0ef87f4c860288e103532d0ce70 Mon Sep 17 00:00:00 2001 From: Atul Mittal Date: Thu, 13 Mar 2014 18:34:09 +0530 Subject: 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 --- CORE/SME/src/csr/csrApiRoam.c | 3 +++ 1 file changed, 3 insertions(+) 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 ) -- cgit v1.2.3