Skip to content

Commit cd9840f

Browse files
krish2718rado17
authored andcommitted
[nrf fromlist] modules: hostap: Remove obsolete conditional
We now support a single MbedTLS shim for hostap, so, this extra check is not needed, we can always use DH5 groups from Mbedtls. Upstream PR #: 97183 Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 0a53640 commit cd9840f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -385,14 +385,6 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WPS
385385
${HOSTAP_SRC_BASE}/crypto/dh_groups.c
386386
)
387387

388-
if(NOT CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT)
389-
# dh_group5 is only needed if we are not using mbedtls, as mbedtls provides
390-
# its own definition
391-
zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WPS
392-
${HOSTAP_SRC_BASE}/crypto/dh_group5.c
393-
)
394-
endif()
395-
396388
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_P2P
397389
CONFIG_P2P
398390
CONFIG_GAS

0 commit comments

Comments
 (0)