From fa31a460d8cb59288c4324eb684bd3ce21e837c3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 19 Jun 2012 00:48:12 +0200 Subject: [PATCH] proto-shell.c: mark device present after reclaiming it, fixes ubus network.device status call after the protocol has been reconnected --- proto-shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/proto-shell.c b/proto-shell.c index 2317209..ae0f938 100644 --- 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) -- 2.11.0