summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-07-30 12:52:03 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-08-02 23:00:26 +0200
commitcc3681c96cdec23dd52cbc653cf0a00c6a289101 (patch)
tree0ef5b3d8b7023340aed2c029c6a7a9c930e34c1a
parent722b167953c2384615cb11bbc88988dec7e647ab (diff)
downloadNetworkManager-cc3681c96cdec23dd52cbc653cf0a00c6a289101.tar.gz
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.
-rw-r--r--clients/cli/devices.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index b37b40e08a..8abf9ad61a 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