diff options
author | Thomas Haller <thaller@redhat.com> | 2019-02-24 16:44:37 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-02-26 09:14:13 +0100 |
commit | ab80bf8f87e3e9b9e24bcb6b1b01ed436481b9a5 (patch) | |
tree | bdb655dcefe332121d2688f581753b16a1f70ba8 /libnm/nm-device-ovs-port.c | |
parent | a6160cb13124fa2920eddaddca41d4befcb74fa6 (diff) | |
download | NetworkManager-ab80bf8f87e3e9b9e24bcb6b1b01ed436481b9a5.tar.gz |
libnm,core: fix device TYPE for Wi-Fi P2P devices
Don't use "wifip2p" for the type description.
$ nmcli device
DEVICE TYPE STATE CONNECTION
wlan0 wifi connected x
p2p-dev-wlan0 wifip2p disconnected --
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/87
(cherry picked from commit 8f6a8d051731333d94da6f2c43c72a1fd9aed9ff)
Diffstat (limited to 'libnm/nm-device-ovs-port.c')
-rw-r--r-- | libnm/nm-device-ovs-port.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm/nm-device-ovs-port.c b/libnm/nm-device-ovs-port.c index 39ecaee599..49cf11cc3c 100644 --- a/libnm/nm-device-ovs-port.c +++ b/libnm/nm-device-ovs-port.c @@ -75,6 +75,7 @@ get_type_description (NMDevice *device) { return "ovs-port"; } + static gboolean connection_compatible (NMDevice *device, NMConnection *connection, GError **error) { |