summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-03 19:10:15 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-03 19:10:15 +0200
commitd6bcf552c169c1d0fd317f9654b8c81c3d838362 (patch)
tree1ec07ac139d9b16a64642525a655e8285e9685cb
parent2b33b33188ed2d02d7236171edc031af9b76eafc (diff)
fix duplicate device release on interface down
-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