wlan: Disable roaming for OWE
propagation from qcacld-3.0 to prima
OWE is supported only for fresh connection. Hence, disable roaming
for OWE.
Change-Id: I234e167c11b21e800fed78218ba198b7a5acba5b
CRs-Fixed: 2531179
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 2cce017..ec3b07e 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -17743,6 +17743,14 @@
return eHAL_STATUS_SUCCESS;
}
+ /* 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;
+ }
+
/*The Dynamic Config Items Update may happen even if the state is in INIT.
* It is important to ensure that the command is passed down to the FW only
* if the Infra Station is in a connected state.A connected station could also be