3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

client: dpp: display table footer and set to auto update

The table footer never got added when the properties did. In addition
set the 'show' command to update since these properties could change.
This commit is contained in:
James Prestwood 2022-07-07 10:55:02 -07:00 committed by Denis Kenzior
parent 35dd2c0821
commit 3ccaf7beed

View File

@ -287,6 +287,8 @@ static enum cmd_status cmd_show(const char *device_name,
proxy_properties_display(proxy, caption, MARGIN, 20, 47);
l_free(caption);
display_table_footer();
return CMD_STATUS_DONE;
}
@ -297,7 +299,7 @@ static const struct command dpp_commands[] = {
{ "<wlan>", "start-configurator", NULL, cmd_start_configurator,
"Starts a DPP Configurator" },
{ "<wlan>", "stop", NULL, cmd_stop, "Aborts DPP operations" },
{ "<wlan>", "show", NULL, cmd_show, "Shows the DPP state" },
{ "<wlan>", "show", NULL, cmd_show, "Shows the DPP state", true },
{ }
};