Skip to content

Commit

Permalink
hostap: Add ip-addr.c compilation to the build
Browse files Browse the repository at this point in the history
The functions in ip-addr.c are needed in more places than just
for hostapd so add it unconditionally to the build.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
  • Loading branch information
jukkar authored and henrikbrixandersen committed Oct 23, 2024
1 parent 18275f8 commit 0edb64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_AP
${HOSTAP_SRC_BASE}/ap/mbo_ap.c
${HOSTAP_SRC_BASE}/ap/ctrl_iface_ap.c
${HOSTAP_SRC_BASE}/utils/crc32.c
${HOSTAP_SRC_BASE}/utils/ip_addr.c
)

zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_AP
Expand All @@ -226,7 +227,6 @@ zephyr_include_directories_ifdef(CONFIG_WIFI_NM_HOSTAPD_AP

zephyr_library_sources_ifdef(CONFIG_WIFI_NM_HOSTAPD_AP
${HOSTAP_SRC_BASE}/ap/acs.c
${HOSTAP_SRC_BASE}/utils/ip_addr.c
${WIFI_NM_HOSTAPD_BASE}/config_file.c
${WIFI_NM_HOSTAPD_BASE}/ctrl_iface.c
${WIFI_NM_HOSTAPD_BASE}/ctrl_iface_zephyr.c
Expand Down

0 comments on commit 0edb64d

Please sign in to comment.