mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-25 13:19:35 -05:00
DPP: Allow wpa_cli DPP_CONFIGURATOR_ADD without arguments
All the arguments to this command are optional, so do not mandate at least one to be included in wpa_cli. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
65fa9d96ae
commit
623f95685d
@ -2894,7 +2894,7 @@ static int wpa_cli_cmd_dpp_stop_listen(struct wpa_ctrl *ctrl, int argc,
|
|||||||
static int wpa_cli_cmd_dpp_configurator_add(struct wpa_ctrl *ctrl, int argc,
|
static int wpa_cli_cmd_dpp_configurator_add(struct wpa_ctrl *ctrl, int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
return wpa_cli_cmd(ctrl, "DPP_CONFIGURATOR_ADD", 1, argc, argv);
|
return wpa_cli_cmd(ctrl, "DPP_CONFIGURATOR_ADD", 0, argc, argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user