DPP: Allow dpp_controller_start without arguments in CLIs
The DPP_CONTROLLER_START control interface command can be used without any arguments, so do not force at least a single argument to be included in wpa_cli and hostapd_cli. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
c97000933c
commit
4cfb484e90
2 changed files with 2 additions and 2 deletions
|
@ -1478,7 +1478,7 @@ static int hostapd_cli_cmd_dpp_pkex_remove(struct wpa_ctrl *ctrl, int argc,
|
|||
static int hostapd_cli_cmd_dpp_controller_start(struct wpa_ctrl *ctrl, int argc,
|
||||
char *argv[])
|
||||
{
|
||||
return hostapd_cli_cmd(ctrl, "DPP_CONTROLLER_START", 1, argc, argv);
|
||||
return hostapd_cli_cmd(ctrl, "DPP_CONTROLLER_START", 0, argc, argv);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -3134,7 +3134,7 @@ static int wpa_cli_cmd_dpp_pkex_remove(struct wpa_ctrl *ctrl, int argc,
|
|||
static int wpa_cli_cmd_dpp_controller_start(struct wpa_ctrl *ctrl, int argc,
|
||||
char *argv[])
|
||||
{
|
||||
return wpa_cli_cmd(ctrl, "DPP_CONTROLLER_START", 1, argc, argv);
|
||||
return wpa_cli_cmd(ctrl, "DPP_CONTROLLER_START", 0, argc, argv);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue