summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-13 15:34:27 +0200
committerTom Gundersen <teg@jklm.no>2014-08-13 15:39:57 +0200
commit8434fd5cf23f998a0f3a0f947a4308a8c18ba7a5 (patch)
treed2efcdb8f500b3358b744e7319880f79fff9e47b /src/libsystemd
parent90ab504273a7f186ebb76e6acfb778b4e0d7c91b (diff)
downloadsystemd-8434fd5cf23f998a0f3a0f947a4308a8c18ba7a5.tar.gz
sd-network: rename state INITALIZING to PENDING and expose as any other state
This is the state when we are waiting for udev to initialize the device, and waiting for libudev and rtnl to be in sync. In the future we probably will also be waiting for nl80211. At this point we do not yet have enough information to know whether or not networkd should be handling the device.
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-network/sd-network.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd/sd-network/sd-network.c b/src/libsystemd/sd-network/sd-network.c
index d2e608c79d..1039a2c48c 100644
--- a/src/libsystemd/sd-network/sd-network.c
+++ b/src/libsystemd/sd-network/sd-network.c
@@ -109,8 +109,6 @@ _public_ int sd_network_get_link_state(int ifindex, char **state) {
return r;
if (isempty(s))
return -ENODATA;
- if (streq(s, "initializing"))
- return -EBUSY;
*state = s;
s = NULL;