summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-generic.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-04-17 15:15:38 +0200
committerThomas Haller <thaller@redhat.com>2015-05-13 18:43:40 +0200
commit0c227e6b626ca37864ebdd77557c8b5fc9e2ec84 (patch)
tree49e3375ee802c8f0f44f5f47f12525fe86242b86 /src/devices/nm-device-generic.c
parent8be0592107adcff527b39e6fc8850d3b816efcad (diff)
device: use NMDeviceCapabilities enum for device capabilities
(cherry picked from commit 2117bef864c1820da337e2b491ba67f865955ec0)
Diffstat (limited to 'src/devices/nm-device-generic.c')
-rw-r--r--src/devices/nm-device-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-generic.c b/src/devices/nm-device-generic.c
index f103ef8303..0704c7d313 100644
--- a/src/devices/nm-device-generic.c
+++ b/src/devices/nm-device-generic.c
@@ -45,7 +45,7 @@ enum {
LAST_PROP
};
-static guint32
+static NMDeviceCapabilities
get_generic_capabilities (NMDevice *dev)
{
if (nm_platform_link_supports_carrier_detect (nm_device_get_ifindex (dev)))