fix duplicate bridge addif
authorFelix Fietkau <nbd@openwrt.org>
Fri, 21 Oct 2011 00:38:36 +0000 (02:38 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 21 Oct 2011 00:38:36 +0000 (02:38 +0200)
bridge.c

index 1f1a220bb77fce8ec57a611ff89d8c9f57ce211f..1b9e6bd8d1083f7d4b7dc590883671f3078f8a79 100644 (file)
--- a/bridge.c
+++ b/bridge.c
@@ -229,9 +229,6 @@ bridge_create_member(struct bridge_state *bst, struct device *dev, bool hotplug)
 
        list_add_tail(&bm->list, &bst->members);
 
-       if (bst->dev.active)
-               bridge_enable_member(bm);
-
        return bm;
 }