summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index a947cf6..823a06f 100644
--- a/interface.c
+++ b/interface.c
@@ -104,7 +104,6 @@ __set_interface_down(struct interface *iface, bool force)
interface_event(iface, IFEV_DOWN);
interface_proto_event(iface->proto, PROTO_CMD_TEARDOWN, force);
- release_device(iface->main_dev.dev);
}
static void