Skip to content

Commit e7a65ac

Browse files
D-Trivenikartben
authored andcommitted
shell: Set default max argc count when WiFi shell is enabled
Set the default maximum argument count for the shell to 30 when the Wi-Fi shell is enabled, to ensure all Wi-Fi commands work without failure. Signed-off-by: Triveni Danda <[email protected]>
1 parent 0bf3c9b commit e7a65ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/shell/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ config SHELL_DEFAULT_TERMINAL_HEIGHT
115115
config SHELL_ARGC_MAX
116116
int "Maximum arguments in shell command"
117117
range 3 $(UINT8_MAX)
118+
default 30 if NET_L2_WIFI_SHELL
118119
default 20
119120
help
120121
Maximum number of arguments that can build a command.

0 commit comments

Comments
 (0)