X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=vlan.c;h=354e12f661d662bcf1d37200239d2caeb6b255b2;hp=28b14417819b9c2a37ca84e273b5a36497379d31;hb=3eea8576d48d9b20cc1c6b46f54c7345a39d13aa;hpb=5d655d1d3f6880b53ea5bafda159c02da038548f diff --git a/vlan.c b/vlan.c index 28b1441..354e12f 100644 --- a/vlan.c +++ b/vlan.c @@ -102,6 +102,7 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create) static const struct device_type vlan_type = { .name = "VLAN", .config_params = &device_attr_list, + .keep_link_status = true, .free = free_vlan_if, }; struct vlan_device *vldev;