summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);