summaryrefslogtreecommitdiffhomepage
path: root/bridge.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-21 02:38:36 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-21 02:38:36 +0200
commit43c2934a4d3f9a3e9d7fc2a4e9a32a2bef7174ba (patch)
treeb8f1d81e1623cf33e05f39cf68309296640bc3fe /bridge.c
parentd76dbcf653fc15719cd9d6bb2ab258b94eada46a (diff)
fix duplicate bridge addif
Diffstat (limited to 'bridge.c')
-rw-r--r--bridge.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bridge.c b/bridge.c
index 1f1a220..1b9e6bd 100644
--- 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;
}