summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMin Liu <minliu@codeaurora.org>2018-10-16 13:53:00 +0800
committerMin Liu <minliu@codeaurora.org>2018-10-16 14:22:05 +0800
commit00f53d504bc87223093e47fc30d125e0a3720afb (patch)
tree89159f22e3a361180f4bf779571840626dfb8ad6
parentc1c92e6aab3a998b0a6f4aea8b66029073a62be8 (diff)
qcacld-2.0: Fix FT roaming failure for WEP Auto switch auth mode
hdd_set_csr_auth_type sets roam profile auth type on the basis of pHddStaCtx->conn_info.authType. Currently, if supplicant sends pHddStaCtx->conn_info.authType = eCSR_AUTH_TYPE_AUTOSWITCH, driver is not handling this case and by default sets eCSR_AUTH_TYPE_UNKNOWN. When scan results are obtained, driver is not able to match the auth type in csrIsSecurityMatch as its set to UNKNOWN .This leads to connection failure in FT roaming. Fix is to set proper value of pRoamProfile->AuthType in case of pHddStaCtx->conn_info.authType = eCSR_AUTH_TYPE_AUTOSWITCH. Change-Id: I203f71606ee424340b447caecb91aded18c029b0 CRs-Fixed: 2333921
-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 c0fb60c65e6e..af3563a39c40 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -5436,6 +5436,7 @@ int hdd_set_csr_auth_type ( hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
switch( pHddStaCtx->conn_info.authType)
{
case eCSR_AUTH_TYPE_OPEN_SYSTEM:
+ case eCSR_AUTH_TYPE_AUTOSWITCH:
#ifdef FEATURE_WLAN_ESE
case eCSR_AUTH_TYPE_CCKM_WPA:
case eCSR_AUTH_TYPE_CCKM_RSN: