aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamodaran, Rohit (Contractor) <Rohit_Damodaran@comcast.com>2018-11-15 14:20:32 (GMT)
committerJouni Malinen <j@w1.fi>2018-11-22 13:53:26 (GMT)
commitcd676ae34c442063038dcc22c6028e14a5b4518b (patch)
tree599634b1709a8b0d11b31ec2bdef150f0f55665c
parentadbce7443dbe902460926f650f3f8f31c66954cf (diff)
downloadhostap-cd676ae34c442063038dcc22c6028e14a5b4518b.zip
hostap-cd676ae34c442063038dcc22c6028e14a5b4518b.tar.gz
hostap-cd676ae34c442063038dcc22c6028e14a5b4518b.tar.bz2
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 <Rohit_Damodaran@comcast.com>
-rw-r--r--hostapd/hostapd_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/hostapd_cli.c b/hostapd/hostapd_cli.c
index fbec5d2..e9f8b8c 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,