core: wait for dependencies before continuing with device activation

Before jumping to activation stage 1, make sure dependencies are activated.
This commit is contained in:
Dan Williams
2012-02-26 17:40:22 -06:00
parent 0b8ff52fdd
commit db94e37eb5
5 changed files with 121 additions and 1 deletions

View File

@@ -486,6 +486,9 @@ typedef enum {
/* Infiniband device does not support connected mode */
NM_DEVICE_STATE_REASON_INFINIBAND_MODE = 49,
/* A dependency of the connection failed */
NM_DEVICE_STATE_REASON_DEPENDENCY_FAILED = 50,
/* Unused */
NM_DEVICE_STATE_REASON_LAST = 0xFFFF
} NMDeviceStateReason;