diff mbox series

Fix to work dpp_configurator_get_key at hostpad_cli

Message ID e62cd928a58c45a9adcd1f8c835b6b09@comcast.com
State Accepted
Headers show
Series Fix to work dpp_configurator_get_key at hostpad_cli | expand

Commit Message

Damodaran, Rohit (Contractor) Nov. 15, 2018, 2:20 p.m. UTC
The option to get DPP configurator key in hostapd_cli was incorrect. It was wrongly pointing to dpp_configurator_remove.

Signed-off-by: Rohit Damodaran <Rohit_Damodaran@comcast.com>
---
 hostapd/hostapd_cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jouni Malinen Nov. 22, 2018, 3:03 p.m. UTC | #1
On Thu, Nov 15, 2018 at 02:20:32PM +0000, Damodaran, Rohit (Contractor) wrote:
> The option to get DPP configurator key in hostapd_cli was incorrect. It was wrongly pointing to dpp_configurator_remove.

Thanks, applied.
diff mbox series

Patch

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,
 	  "*|<id> = 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,
 	  "<id> = Get DPP configurator's private key" },
 	{ "dpp_pkex_add", hostapd_cli_cmd_dpp_pkex_add, NULL,