Skip to content

Commit 085a078

Browse files
committed
[nrf fromtree] drivers: wifi: Fix monitor mode handling
Monitor mode relies on core Wi-Fi management functions, so, the file should be included for both system and system with raw modes. Fix this by adding a hidden symbol. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 56055ac)
1 parent 12762de commit 085a078

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/wifi/nrfwifi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ zephyr_library_sources_ifdef(CONFIG_NET_L2_WIFI_MGMT
7676
src/wifi_mgmt_scan.c
7777
)
7878

79-
zephyr_library_sources_ifdef(CONFIG_NRF70_SYSTEM_MODE
79+
zephyr_library_sources_ifdef(CONFIG_NRF70_SYSTEM_MODE_COMMON
8080
src/wifi_mgmt.c
8181
)
8282

drivers/wifi/nrfwifi/Kconfig.nrfwifi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ config NRF70_SYSTEM_WITH_RAW_MODES
7878

7979
endchoice
8080

81+
config NRF70_SYSTEM_MODE_COMMON
82+
bool
83+
default y if NRF70_SYSTEM_MODE || NRF70_SYSTEM_WITH_RAW_MODES
84+
8185
config NET_L2_ETHERNET
8286
default y if !NRF70_RADIO_TEST
8387

0 commit comments

Comments
 (0)