From 8434fd5cf23f998a0f3a0f947a4308a8c18ba7a5 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 13 Aug 2014 15:34:27 +0200 Subject: 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. --- src/libsystemd/sd-network/sd-network.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libsystemd') 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; -- cgit v1.2.3-54-g00ecf