projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9c6ef
)
proto-shell.c: mark device present after reclaiming it, fixes ubus network.device...
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 18 Jun 2012 22:48:12 +0000
(
00:48
+0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 18 Jun 2012 22:48:12 +0000
(
00:48
+0200)
proto-shell.c
patch
|
blob
|
history
diff --git
a/proto-shell.c
b/proto-shell.c
index 2317209b2442c8619adc7ed1a62f6eb87234a11f..ae0f9383f4fbea2c47843f9e161b48f5c0080f09 100644
(file)
--- a/
proto-shell.c
+++ b/
proto-shell.c
@@
-455,6
+455,7
@@
proto_shell_update_link(struct proto_shell_state *state, struct blob_attr *data,
interface_set_l3_dev(iface, dev);
device_claim(&iface->l3_dev);
+ device_set_present(dev, true);
}
if (!keep)