summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-private.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-31 18:51:16 +0200
committerThomas Haller <thaller@redhat.com>2016-09-09 14:10:27 +0200
commit2162a84c5fd191fe6de171412958473c0b6f4487 (patch)
tree5b3f9e2edfc593da72a2d93d6e8a0dece8a3447d /src/devices/nm-device-private.h
parent398e1e8b3c7e63161e7a3c8ac614bb29fd7e3e7c (diff)
downloadNetworkManager-2162a84c5fd191fe6de171412958473c0b6f4487.tar.gz
device/trivial: rename NM_ACT_STAGE_RETURN_STOP to NM_ACT_STAGE_RETURN_IP_FAIL
and rename NM_ACT_STAGE_RETURN_STOP to NM_ACT_STAGE_RETURN_IP_FAIL. They are only used during IP config stage. Give them a better name.
Diffstat (limited to 'src/devices/nm-device-private.h')
-rw-r--r--src/devices/nm-device-private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h
index a91bb422f2..0274431bb9 100644
--- a/src/devices/nm-device-private.h
+++ b/src/devices/nm-device-private.h
@@ -27,11 +27,11 @@
/* This file should only be used by subclasses of NMDevice */
enum NMActStageReturn {
- NM_ACT_STAGE_RETURN_FAILURE = 0,
+ NM_ACT_STAGE_RETURN_FAILURE = 0, /* Hard failure of activation */
NM_ACT_STAGE_RETURN_SUCCESS, /* Activation stage done */
NM_ACT_STAGE_RETURN_POSTPONE, /* Long-running operation in progress */
- NM_ACT_STAGE_RETURN_WAIT, /* Not ready to start stage; wait */
- NM_ACT_STAGE_RETURN_STOP, /* Activation not wanted */
+ NM_ACT_STAGE_RETURN_IP_WAIT, /* IP config stage is waiting (state IP_WAIT) */
+ NM_ACT_STAGE_RETURN_IP_FAIL, /* IP config stage failed (state IP_FAIL), activation may proceed */
};
#define NM_DEVICE_CAP_NONSTANDARD_CARRIER 0x80000000