Skip to content

Commit df6c183

Browse files
walidbadarkartben
authored andcommitted
net: wifi: Add default for max managed interfaces
This default value 2 of WIFI_NM_MAX_MANAGED_INTERFACES ensures WiFi network manager can properly handle both access point and station interfaces. Signed-off-by: Muhammad Waleed Badar <[email protected]>
1 parent 5815aec commit df6c183

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/net/l2/wifi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ if WIFI_NM
8282

8383
config WIFI_NM_MAX_MANAGED_INTERFACES
8484
int "Maximum number of managed interfaces per Wi-Fi network manager"
85+
default 2 if WIFI_USAGE_MODE_STA_AP
8586
default 1
8687
help
8788
This option defines the maximum number of managed interfaces per Wi-Fi

0 commit comments

Comments
 (0)