From cd676ae34c442063038dcc22c6028e14a5b4518b Mon Sep 17 00:00:00 2001 From: "Damodaran, Rohit (Contractor)" Date: Thu, 15 Nov 2018 14:20:32 +0000 Subject: [PATCH] Fix dpp_configurator_get_key command name in hostapd_cli The option to get DPP configurator key in hostapd_cli was named incorrectly. It was wrongly pointing to dpp_configurator_remove. Fix this by using the correct name. Signed-off-by: Rohit Damodaran --- hostapd/hostapd_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostapd/hostapd_cli.c b/hostapd/hostapd_cli.c index fbec5d246..e9f8b8ca4 100644 --- a/hostapd/hostapd_cli.c +++ b/hostapd/hostapd_cli.c @@ -1637,7 +1637,7 @@ static const struct hostapd_cli_cmd hostapd_cli_commands[] = { { "dpp_configurator_remove", hostapd_cli_cmd_dpp_configurator_remove, NULL, "*| = remove DPP configurator" }, - { "dpp_configurator_remove", hostapd_cli_cmd_dpp_configurator_get_key, + { "dpp_configurator_get_key", hostapd_cli_cmd_dpp_configurator_get_key, NULL, " = Get DPP configurator's private key" }, { "dpp_pkex_add", hostapd_cli_cmd_dpp_pkex_add, NULL,