From d6bcf552c169c1d0fd317f9654b8c81c3d838362 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Apr 2011 19:10:15 +0200 Subject: [PATCH] fix duplicate device release on interface down --- interface.c | 1 - 1 file changed, 1 deletion(-) 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 -- 2.30.2