diff --git a/scripts/quarantine_zephyr.yaml b/scripts/quarantine_zephyr.yaml index 8804c304bc83..47f3c55c0648 100644 --- a/scripts/quarantine_zephyr.yaml +++ b/scripts/quarantine_zephyr.yaml @@ -187,20 +187,6 @@ - nrf54l15dk/nrf54l15/cpuapp comment: "Test not aligned for nrf54l15 - missing snippet settings" -- scenarios: - - wifi.build.crypto_enterprise - - wifi.build.wps - - wifi.build.wpa3 - - wifi.build.crypto_alt - - wifi.build.crypto_none - - wifi.build.crypto_default - - wifi.build.hostapd_ap - - wifi.build.dpp - - wifi.build.p2p - platforms: - - native_sim - comment: "https://nordicsemi.atlassian.net/browse/NCSDK-30884" - - scenarios: - net.sockets.tls12.ec_kex - net.sockets.tls13.ephemeral_kex diff --git a/subsys/net/lib/hostap_crypto/CMakeLists.txt b/subsys/net/lib/hostap_crypto/CMakeLists.txt index 6450265fca0d..0cfb8518d772 100644 --- a/subsys/net/lib/hostap_crypto/CMakeLists.txt +++ b/subsys/net/lib/hostap_crypto/CMakeLists.txt @@ -4,6 +4,11 @@ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # +# This is for use in NCS with nRF security which works only on nRF platforms +if(NOT DEFINED CONFIG_SOC_FAMILY_NORDIC_NRF) + return() +endif() + zephyr_interface_library_named(hostap_crypto) set(HOSTAP_BASE ${ZEPHYR_HOSTAP_MODULE_DIR}) diff --git a/subsys/net/lib/hostap_crypto/Kconfig b/subsys/net/lib/hostap_crypto/Kconfig index 09b9f3f3fee6..440ee011d116 100644 --- a/subsys/net/lib/hostap_crypto/Kconfig +++ b/subsys/net/lib/hostap_crypto/Kconfig @@ -4,7 +4,7 @@ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # -if WIFI_NM_WPA_SUPPLICANT +if WIFI_NM_WPA_SUPPLICANT && SOC_FAMILY_NORDIC_NRF choice WIFI_NM_WPA_SUPPLICANT_CRYPTO_BACKEND default WIFI_NM_WPA_SUPPLICANT_CRYPTO_EXT