DPP: Remove argument requirement for DPP push button command
The hostapd_cli command to initiate DPP push button mode mandates at least one argument to be provided. Arguments provided to the command are used to optionally supply configuration options when running in this mode. They are not strictly required for DPP push button mode to start. This patch removes the min requirement check on the command. Signed-off-by: Andrew Pope (andrew.pope@morsemicro.com)
This commit is contained in:
parent
397d432f60
commit
9122b60ffd
1 changed files with 1 additions and 1 deletions
|
@ -1529,7 +1529,7 @@ static int hostapd_cli_cmd_dpp_stop_chirp(struct wpa_ctrl *ctrl, int argc,
|
|||
static int hostapd_cli_cmd_dpp_push_button(struct wpa_ctrl *ctrl, int argc,
|
||||
char *argv[])
|
||||
{
|
||||
return hostapd_cli_cmd(ctrl, "DPP_PUSH_BUTTON", 1, argc, argv);
|
||||
return hostapd_cli_cmd(ctrl, "DPP_PUSH_BUTTON", 0, argc, argv);
|
||||
}
|
||||
#endif /* CONFIG_DPP3 */
|
||||
#endif /* CONFIG_DPP */
|
||||
|
|
Loading…
Reference in a new issue