chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1f0e048
)
networkd: link - don't fail a link if RF kill is active
author
Tom Gundersen
<teg@jklm.no>
Sun, 27 Apr 2014 22:16:46 +0000
(
00:16
+0200)
committer
Tom Gundersen
<teg@jklm.no>
Sun, 27 Apr 2014 22:16:46 +0000
(
00:16
+0200)
src/network/networkd-link.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-link.c
b/src/network/networkd-link.c
index a6ae3c1b93be4ba2ff65f119c2006e6288979ed4..d3b2b14b2174cbc6a316f144349331681a6e8004 100644
(file)
--- 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;