From cc3681c96cdec23dd52cbc653cf0a00c6a289101 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 30 Jul 2019 12:52:03 +0200 Subject: [PATCH] cli: (trivial) rename do_device_wifi_connect_network() to do_device_wifi_connect() This is consistent with the surrounding code and avoids lines unnecessarily too wide. --- clients/cli/devices.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clients/cli/devices.c b/clients/cli/devices.c index b37b40e08..8abf9ad61 100644 --- a/clients/cli/devices.c +++ b/clients/cli/devices.c @@ -3119,7 +3119,7 @@ do_device_wifi_list (NmCli *nmc, int argc, char **argv) } static NMCResultCode -do_device_wifi_connect_network (NmCli *nmc, int argc, char **argv) +do_device_wifi_connect (NmCli *nmc, int argc, char **argv) { NMDevice *device = NULL; NMAccessPoint *ap = NULL; @@ -4020,11 +4020,11 @@ finish: } static NMCCommand device_wifi_cmds[] = { - { "list", do_device_wifi_list, NULL, TRUE, TRUE }, - { "connect", do_device_wifi_connect_network, NULL, TRUE, TRUE }, - { "hotspot", do_device_wifi_hotspot, NULL, TRUE, TRUE }, - { "rescan", do_device_wifi_rescan, NULL, TRUE, TRUE }, - { NULL, do_device_wifi_list, NULL, TRUE, TRUE }, + { "list", do_device_wifi_list, NULL, TRUE, TRUE }, + { "connect", do_device_wifi_connect, NULL, TRUE, TRUE }, + { "hotspot", do_device_wifi_hotspot, NULL, TRUE, TRUE }, + { "rescan", do_device_wifi_rescan, NULL, TRUE, TRUE }, + { NULL, do_device_wifi_list, NULL, TRUE, TRUE }, }; static NMCResultCode