From: Felix Fietkau Date: Sat, 24 Jan 2015 14:17:02 +0000 (+0100) Subject: Revert "vlan: reset device state on init" X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=500779b3750d8a7603401128f6eb4e942e684616;p=oweals%2Fnetifd.git Revert "vlan: reset device state on init" This is causing a regression with some VLAN configurations This reverts commit a4445215e06ee3056427effbef617f4525ee1836. --- diff --git a/vlan.c b/vlan.c index 7424aa8..354e12f 100644 --- a/vlan.c +++ b/vlan.c @@ -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; }