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>
This commit is contained in:
Maochen Wang 2025-06-10 15:45:13 +08:00 committed by Benjamin Cabé
commit 5bcaf33d79

View file

@ -3959,7 +3959,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
"[-h --channel <channel>]\n"
"[-a --mac <mac_addr>]\n"
"[-i, --iface=<interface index>] : Interface index.\n",
cmd_wifi_dpp_btstrap_gen, 1, 2),
cmd_wifi_dpp_btstrap_gen, 1, 10),
SHELL_CMD_ARG(btstrap_get_uri, NULL,
" Get DPP bootstrap uri by id:\n"
"<bootstrap_id>\n"
@ -3995,7 +3995,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
" AP Input QR code:\n"
"<qr_code_string>\n"
"[-i, --iface=<interface index>] : Interface index.\n",
cmd_wifi_dpp_ap_qr_code, 3, 2),
cmd_wifi_dpp_ap_qr_code, 2, 2),
SHELL_CMD_ARG(ap_auth_init, NULL,
"AP DPP start auth request as enrollee:\n"
"-p --peer <peer_bootstrap_id>\n"