summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>2014-09-23 21:53:04 +0530
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2014-09-25 17:32:50 +0530
commit50f0a4acd1ff9dfc416b79eca1e4be690af215db (patch)
treea33749244e9e1651841cd52d2eac787dbf319d62
parentba760f7a68cb666a25aad25f83bbcf1958ac9bb5 (diff)
qcacld: Fix sending a missing roam scan offload to firmware.
Currently, when a disconnect comes from the supplicant with reason code as DEAUTH, the host is skipping doing a Link Down as a result of which after a subsequent new connection the host misses sending a roam scan offload to firmware because of being in a wrong state. This issue is now fixed by calling link down before disconnecting. Change-Id: I3a3926baca8a1324540e0db564430e59a5dd2fbd CRs-Fixed: 728743
-rw-r--r--CORE/SME/src/csr/csrApiRoam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index e2abf266116a..aacd9578fe77 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -3064,7 +3064,9 @@ eHalStatus csrRoamIssueDeauth( tpAniSirGlobal pMac, tANI_U32 sessionId, eCsrRoam
csrRoamSubstateChange( pMac, NewSubstate, sessionId);
status = csrSendMBDeauthReqMsg( pMac, sessionId, bssId, eSIR_MAC_DEAUTH_LEAVING_BSS_REASON );
- if(!HAL_STATUS_SUCCESS(status))
+ if (HAL_STATUS_SUCCESS(status))
+ csrRoamLinkDown(pMac, sessionId);
+ else
{
smsLog(pMac, LOGE, FL("csrSendMBDeauthReqMsg failed with status %d Session ID: %d"
MAC_ADDRESS_STR ), status, sessionId, MAC_ADDR_ARRAY(bssId));