Skip to content

Commit 965dae6

Browse files
krish2718kartben
authored andcommitted
modules: hostap: Fix EAP-TTLS only build
The TLS common file is applicable for TLS/TTLS/PEAP (TLS_FUNCS). Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 3435608 commit 965dae6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_HOSTAPD_WPS
383383

384384
zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
385385
${HOSTAP_SRC_BASE}/eap_common/eap_common.c
386+
${HOSTAP_SRC_BASE}/eap_peer/eap_tls_common.c
387+
386388
)
387389

388390
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
@@ -392,7 +394,6 @@ zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_EN
392394

393395
zephyr_library_sources_ifdef(CONFIG_EAP_TLS
394396
${HOSTAP_SRC_BASE}/eap_peer/eap_tls.c
395-
${HOSTAP_SRC_BASE}/eap_peer/eap_tls_common.c
396397
)
397398

398399
zephyr_library_compile_definitions_ifdef(CONFIG_EAP_TLS

0 commit comments

Comments
 (0)