summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPragaspathi Thilagaraj <tpragasp@codeaurora.org>2019-01-24 22:39:20 +0530
committernshrivas <nshrivas@codeaurora.org>2019-01-24 21:16:01 -0800
commitc7ad74687804e104f5ee90f6ec02e8a13a59e5cf (patch)
treee90001499c9499ad5bec1495c94420bdf57f6bf7
parent7e6e42d7b463df0a2c28f9dbba4abbdddb9bcf5c (diff)
qcacld-3.0: Handle NL80211_AUTHTYPE_SAE independent of FILS
SAE authentication type case NL80211_AUTHTYPE_SAE is under FILS compile time flag. This results in SAE authentication failure if FILS is disabled. Handle NL80211_AUTHTYPE_SAE authentication case independent of FILS Change-Id: Id855f90c76dd69935fe32b26ff49b2240b4983d4 CRs-Fixed: 2382124
-rw-r--r--core/hdd/src/wlan_hdd_cfg80211.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index 2ccdb711f878..c135116a9ec8 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -17244,13 +17244,12 @@ static int wlan_hdd_cfg80211_set_auth_type(hdd_adapter_t *pAdapter,
hdd_debug("set authentication type to FILS SHARED");
pHddStaCtx->conn_info.authType = eCSR_AUTH_TYPE_OPEN_SYSTEM;
break;
-
+#endif
case NL80211_AUTHTYPE_SAE:
hdd_debug("set authentication type to SAE");
pHddStaCtx->conn_info.authType = eCSR_AUTH_TYPE_SAE;
break;
-#endif
default:
hdd_err("Unsupported authentication type: %d", auth_type);
pHddStaCtx->conn_info.authType = eCSR_AUTH_TYPE_UNKNOWN;