diff options
author | Abhinav Kumar <abhikuma@codeaurora.org> | 2018-09-19 12:14:14 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-09-27 06:24:05 -0700 |
commit | 62801ba5e5680b5e43af17631d30fc258e868cab (patch) | |
tree | 95e5bafd61e8ae36cc12c614e7b4da77c9a44e2d | |
parent | 1d019fd4b4649bbfddb00289b87ccbd6285b7d06 (diff) | |
download | wlan-62801ba5e5680b5e43af17631d30fc258e868cab.tar.gz |
prima: 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: 2319479
-rw-r--r-- | CORE/HDD/src/wlan_hdd_assoc.c | 1 |
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 2e973c011..f7ce1b848 100644 --- a/CORE/HDD/src/wlan_hdd_assoc.c +++ b/CORE/HDD/src/wlan_hdd_assoc.c @@ -4818,6 +4818,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: |