Skip to content

Commit 3efacf1

Browse files
D-Triveninordicjm
authored andcommitted
[nrf fromtree] 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]> (cherry picked from commit e7a65ac)
1 parent 7ee4bc9 commit 3efacf1

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
@@ -108,6 +108,7 @@ config SHELL_DEFAULT_TERMINAL_HEIGHT
108108
config SHELL_ARGC_MAX
109109
int "Maximum arguments in shell command"
110110
range 3 $(UINT8_MAX)
111+
default 30 if NET_L2_WIFI_SHELL
111112
default 20
112113
help
113114
Maximum number of arguments that can build a command.

0 commit comments

Comments
 (0)