Skip to content

Commit 19c9628

Browse files
committed
[nrf fromtree] drivers: wifi: Fix AP mode build
Pass the AP mode configuration based on Zephyr's Kconfig to the OS agnostic code. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 22a1846)
1 parent 085a078 commit 19c9628

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/wifi/nrfwifi/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ zephyr_compile_definitions_ifdef(CONFIG_NRF70_LOG_VERBOSE
240240
-DNRF70_LOG_VERBOSE
241241
)
242242

243+
zephyr_compile_definitions_ifdef(CONFIG_NRF70_AP_MODE
244+
-DNRF70_AP_MODE
245+
)
246+
243247
zephyr_compile_definitions(
244248
-DNRF70_RX_NUM_BUFS=${CONFIG_NRF70_RX_NUM_BUFS}
245249
-DNRF70_MAX_TX_TOKENS=${CONFIG_NRF70_MAX_TX_TOKENS}

0 commit comments

Comments
 (0)