From 962fc5c8d3b2b519f3cdc2398183b48225dde5c5 Mon Sep 17 00:00:00 2001 From: Maochen Wang Date: Fri, 27 Dec 2024 16:21:18 +0800 Subject: [PATCH] net: wifi: fix wifi connect parameter count error Fix wrong parameter count error when input 'wifi connect' in enterprise mode. Signed-off-by: Maochen Wang --- subsys/net/l2/wifi/wifi_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/net/l2/wifi/wifi_shell.c b/subsys/net/l2/wifi/wifi_shell.c index 4c72ada65ab5f6..c4695dbb83b4ae 100644 --- a/subsys/net/l2/wifi/wifi_shell.c +++ b/subsys/net/l2/wifi/wifi_shell.c @@ -3685,7 +3685,7 @@ SHELL_SUBCMD_ADD((wifi), connect, NULL, "[-R, --ieee-80211r]: Use IEEE80211R fast BSS transition connect." "[-h, --help]: Print out the help for the connect command.\n", cmd_wifi_connect, - 2, 19); + 2, 40); SHELL_SUBCMD_ADD((wifi), disconnect, NULL, "Disconnect from the Wi-Fi AP.\n",