summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2019-06-27 05:12:04 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-06-27 05:12:04 -0700
commit33637ee1202e8e5f2ff55502d60863d801e2f554 (patch)
treed99d9280b766bfe8c1ef5dc30a3c831238e50848
parent63c5d97cad35558cf3df14d5578fa18d561ce495 (diff)
parent83165da2e435fc5eee2ffe390bdb90b150dee6db (diff)
Merge "qcacld-2.0: Set SAE auth type for PMKID cached connect request" into wlan-cld2.driver.lnx.1.0
-rw-r--r--CORE/HDD/src/wlan_hdd_assoc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c
index 1f8b2ec2dff9..5a656616b94b 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -5626,6 +5626,12 @@ int hdd_set_csr_auth_type ( hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
hddLog(LOG1, "updated profile authtype as %d", RSNAuthType);
} else
#endif
+ if ((RSNAuthType == eCSR_AUTH_TYPE_SAE) &&
+ ((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
+ == IW_AUTH_KEY_MGMT_802_1X)) {
+ /* SAE case */
+ pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_SAE;
+ } else
if ((RSNAuthType == eCSR_AUTH_TYPE_OWE) &&
((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
== IW_AUTH_KEY_MGMT_802_1X)) {