summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeshwanth Sriram Guntuka <ysriramg@codeaurora.org>2017-09-19 15:22:10 +0530
committersnandini <snandini@codeaurora.org>2017-09-21 15:44:46 -0700
commita152ff4e1467eb94173c3cde10c6e16aef09f476 (patch)
treee9670e9bdf7ea8883acb915b45d878039e97aa55
parent384e1b25b8a4445ba1548da745211b9e62aedc33 (diff)
qcacld-3.0: Set ft_carrier_on to false on roam abort
When host receives roam sync indication from firmware and if state in PE is not equal to eLIM_SME_LINK_EST_STATE then roam is aborted. As part of eCSR_ROAM_FT_START, ft_carrier_on flag is set to true but is not set to false as part of roam abort handling in hdd_sme_roam_callback api. This results in not sending subsequent connect result to nl. Fix is to set ft_carrier_on to false on roam abort. Change-Id: I43c65730fd439145c22dbf77b0deb47a1bf2ef45 CRs-Fixed: 2105072
-rw-r--r--core/hdd/src/wlan_hdd_assoc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index 3dda3e9be4da..1ec80454317c 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -5163,6 +5163,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
cds_set_connection_in_progress(false);
hdd_set_roaming_in_progress(false);
pAdapter->roam_ho_fail = false;
+ pHddStaCtx->ft_carrier_on = false;
complete(&pAdapter->roaming_comp_var);
break;