diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 15:17:02 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 15:17:02 +0100 |
commit | 500779b3750d8a7603401128f6eb4e942e684616 (patch) | |
tree | 44846e174cbe3a03b955f07f4b87c3d81d8a1c57 /vlan.c | |
parent | 0358e84210b5c97b82b256a5909365555a5f7131 (diff) |
Revert "vlan: reset device state on init"
This is causing a regression with some VLAN configurations
This reverts commit a4445215e06ee3056427effbef617f4525ee1836.
Diffstat (limited to 'vlan.c')
-rw-r--r-- | vlan.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -139,9 +139,6 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create) vldev->dep.cb = vlan_dev_cb; device_add_user(&vldev->dep, dev); - vldev->set_state(dev, false); - system_vlan_del(dev); - return &vldev->dev; } |