Skip to content

Commit

Permalink
net: wifi: fix wifi connect parameter count error
Browse files Browse the repository at this point in the history
Fix wrong parameter count error when input 'wifi connect' in
enterprise mode.

Signed-off-by: Maochen Wang <[email protected]>
  • Loading branch information
MaochenWang1 committed Jan 9, 2025
1 parent e223eb6 commit 962fc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/net/l2/wifi/wifi_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 962fc5c

Please sign in to comment.