summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbings <bings@codeaurora.org>2019-02-18 16:42:34 +0800
committerbings <bings@codeaurora.org>2019-02-27 14:42:57 +0800
commita55ad29e32840661288e18c4267053287c487b7e (patch)
tree941575d6248696586aebef072133ddb44ac6976c
parent3f6aa4ba035026e6bf533bf911bd3934397a40da (diff)
qcacld-2.0: Disable roaming for OWE
propagation from qcacld-3.0 to qcacld-2.0 OWE is supported only for fresh connection. Hence, disable roaming for OWE. Change-Id: I234e167c11b21e800fed78218ba198b7a5acba5b CRs-Fixed: 2406067
-rw-r--r--CORE/SME/src/csr/csrApiRoam.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index d1f6d8507cbb..3f9c721fca22 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -18440,6 +18440,14 @@ eHalStatus csrRoamOffloadScan(tpAniSirGlobal pMac, tANI_U8 sessionId,
return eHAL_STATUS_FAILURE;
}
+ /* Roaming is not supported currently for OWE akm */
+ if (pSession->pCurRoamProfile &&
+ (pSession->pCurRoamProfile->AuthType.authType[0] ==
+ eCSR_AUTH_TYPE_OWE)) {
+ smsLog(pMac, LOGE, "Roaming not suppprted for OWE connection");
+ return eHAL_STATUS_SUCCESS;
+ }
+
/* Roaming is not supported currently for SAE authentication */
if (pSession->pCurRoamProfile &&
CSR_IS_AUTH_TYPE_SAE(