mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 10:40:11 +01:00
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.
This commit is contained in:
parent
722b167953
commit
cc3681c96c
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue