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,