Skip to content

Commit 804e6a2

Browse files
MaochenWang1kartben
authored andcommitted
net: l2: wifi:fix the parameter count error when start SAP
During previous commit of adding interface arg, wrongly change the parameter count of 'wifi ap enable' to a small one. Change the value to 47 can fix this issue and match the need of adding interface arg. Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
1 parent f8a4b0a commit 804e6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/l2/wifi/wifi_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3775,7 +3775,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
37753775
"Default no password for eap user.\n"
37763776
"[-i, --iface=<interface index>] : Interface index.\n"
37773777
"-h --help (prints help)",
3778-
cmd_wifi_ap_enable, 2, 7),
3778+
cmd_wifi_ap_enable, 2, 47),
37793779
SHELL_CMD_ARG(stations, NULL, "List stations connected to the AP\n"
37803780
"[-i, --iface=<interface index>] : Interface index.\n",
37813781
cmd_wifi_ap_stations, 1, 2),

0 commit comments

Comments
 (0)