Skip to content

Commit 5bcaf33

Browse files
MaochenWang1kartben
authored andcommitted
net: l2: wifi: fix dpp btstrap_gen CMD failure
Input 'wifi dpp btstrap_gen ...' cmd or 'wifi dpp ap_qr_code ...', the console shows 'wrong parameter count'. Fix the typo of 'wifi dpp btstrap_gen' and 'wifi dpp ap_qr_code' CMD's parameter count. Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
1 parent 2e5f703 commit 5bcaf33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/net/l2/wifi/wifi_shell.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3959,7 +3959,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
39593959
"[-h --channel <channel>]\n"
39603960
"[-a --mac <mac_addr>]\n"
39613961
"[-i, --iface=<interface index>] : Interface index.\n",
3962-
cmd_wifi_dpp_btstrap_gen, 1, 2),
3962+
cmd_wifi_dpp_btstrap_gen, 1, 10),
39633963
SHELL_CMD_ARG(btstrap_get_uri, NULL,
39643964
" Get DPP bootstrap uri by id:\n"
39653965
"<bootstrap_id>\n"
@@ -3995,7 +3995,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
39953995
" AP Input QR code:\n"
39963996
"<qr_code_string>\n"
39973997
"[-i, --iface=<interface index>] : Interface index.\n",
3998-
cmd_wifi_dpp_ap_qr_code, 3, 2),
3998+
cmd_wifi_dpp_ap_qr_code, 2, 2),
39993999
SHELL_CMD_ARG(ap_auth_init, NULL,
40004000
"AP DPP start auth request as enrollee:\n"
40014001
"-p --peer <peer_bootstrap_id>\n"

0 commit comments

Comments
 (0)