mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +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:
parent
35dd2c0821
commit
3ccaf7beed
@ -287,6 +287,8 @@ static enum cmd_status cmd_show(const char *device_name,
|
|||||||
proxy_properties_display(proxy, caption, MARGIN, 20, 47);
|
proxy_properties_display(proxy, caption, MARGIN, 20, 47);
|
||||||
l_free(caption);
|
l_free(caption);
|
||||||
|
|
||||||
|
display_table_footer();
|
||||||
|
|
||||||
return CMD_STATUS_DONE;
|
return CMD_STATUS_DONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -297,7 +299,7 @@ static const struct command dpp_commands[] = {
|
|||||||
{ "<wlan>", "start-configurator", NULL, cmd_start_configurator,
|
{ "<wlan>", "start-configurator", NULL, cmd_start_configurator,
|
||||||
"Starts a DPP Configurator" },
|
"Starts a DPP Configurator" },
|
||||||
{ "<wlan>", "stop", NULL, cmd_stop, "Aborts DPP operations" },
|
{ "<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 },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user