From 9b86b3930a47cafd39f342ed141014068a3093c2 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 28 Apr 2014 00:16:46 +0200 Subject: networkd: link - don't fail a link if RF kill is active --- src/network/networkd-link.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/network') diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index a6ae3c1b93..d3b2b14b21 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -1232,12 +1232,13 @@ static int link_up_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) { r = sd_rtnl_message_get_errno(m); if (r < 0) { + /* we warn but don't fail the link, as it may + be brought up later */ log_struct_link(LOG_WARNING, link, "MESSAGE=%s: could not bring up interface: %s", link->ifname, strerror(-r), "ERRNO=%d", -r, NULL); - link_enter_failed(link); } return 1; -- cgit v1.2.3-54-g00ecf