aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_cli.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-07-04 12:38:52 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-04 12:38:52 (GMT)
commit623f95685d5eacc5a36a2bf14029dfd4da5611d4 (patch)
tree2baf622d79fcf329859b066dcc4d16a52cf550a6 /wpa_supplicant/wpa_cli.c
parent65fa9d96ae60d06dc42ff018ba3a6e412ebcf90f (diff)
downloadhostap-623f95685d5eacc5a36a2bf14029dfd4da5611d4.zip
hostap-623f95685d5eacc5a36a2bf14029dfd4da5611d4.tar.gz
hostap-623f95685d5eacc5a36a2bf14029dfd4da5611d4.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/wpa_cli.c')
-rw-r--r--wpa_supplicant/wpa_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index bb1de3a..7ec2377 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);
}