qcacld-3.0: Disable roaming for OWE
OWE is supported only for fresh connection. Hence, disable roaming
for OWE.
Change-Id: I234e167c11b21e800fed78218ba198b7a5acba5b
CRs-Fixed: 2141423
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index 7228ee6..ada17ad 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -18725,6 +18725,14 @@
return QDF_STATUS_SUCCESS;
}
+ /* Roaming is not supported currently for OWE akm */
+ if (session->pCurRoamProfile &&
+ (session->pCurRoamProfile->AuthType.authType[0] ==
+ eCSR_AUTH_TYPE_OWE)) {
+ sme_info("OWE Roaming not suppprted by fw");
+ return QDF_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