summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-03 03:08:19 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-03 03:08:22 +0200
commit9bebe7d7bc94667c793d1956e2960163dee75e51 (patch)
tree67429685b1d3f0eda2275c444c299d0d92003e9f
parent086effa8d06c721a993d1d324b54f8dcc97f416e (diff)
bridge: add missing device cleanup
-rw-r--r--bridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge.c b/bridge.c
index c48381b..0ae9d00 100644
--- a/bridge.c
+++ b/bridge.c
@@ -281,6 +281,7 @@ bridge_free(struct device *dev)
struct bridge_state *bst;
struct bridge_member *bm;
+ device_cleanup(dev);
bst = container_of(dev, struct bridge_state, dev);
while (!list_empty(&bst->members)) {
bm = list_first_entry(&bst->members, struct bridge_member, list);