From 623f95685d5eacc5a36a2bf14029dfd4da5611d4 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 4 Jul 2017 15:38:52 +0300 Subject: [PATCH] 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 --- wpa_supplicant/wpa_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index bb1de3ac4..7ec237795 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -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, char *argv[]) { - return wpa_cli_cmd(ctrl, "DPP_CONFIGURATOR_ADD", 1, argc, argv); + return wpa_cli_cmd(ctrl, "DPP_CONFIGURATOR_ADD", 0, argc, argv); }