summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-12-09 12:02:16 +0100
committerThomas Haller <thaller@redhat.com>2015-12-09 12:04:36 +0100
commit7eeadc2caf602b9b67676c463b4cbcffa57bebc5 (patch)
tree6f1f24420d6440a31e581353b2b30d144b1b5229
parent158c63eb2cd0eaee977f2a535f6e6b74a3abff2e (diff)
downloadNetworkManager-7eeadc2caf602b9b67676c463b4cbcffa57bebc5.tar.gz
device: fix enum value NM_DEVICE_CHECK_CON_AVAILABLE_ALL
ALL had wrongly the value 0x05 instead of 0x03.
-rw-r--r--src/devices/nm-device.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/devices/nm-device.h b/src/devices/nm-device.h
index 48398faf05..26e8affd48 100644
--- a/src/devices/nm-device.h
+++ b/src/devices/nm-device.h
@@ -108,8 +108,7 @@ typedef enum { /*< skip >*/
NM_DEVICE_CHECK_CON_AVAILABLE_FOR_USER_REQUEST = _NM_DEVICE_CHECK_CON_AVAILABLE_FOR_USER_REQUEST_WAITING_CARRIER
| _NM_DEVICE_CHECK_CON_AVAILABLE_FOR_USER_REQUEST_IGNORE_AP,
- __NM_DEVICE_CHECK_CON_AVAILABLE_ALL,
- NM_DEVICE_CHECK_CON_AVAILABLE_ALL = (((__NM_DEVICE_CHECK_CON_AVAILABLE_ALL - 1) << 1) - 1),
+ NM_DEVICE_CHECK_CON_AVAILABLE_ALL = (1L << 2) - 1,
} NMDeviceCheckConAvailableFlags;
struct _NMDevicePrivate;