always recreate devices by default if the config attribute list is not the default one
[project/netifd.git] / vlan.c
diff --git a/vlan.c b/vlan.c
index 3085868..bf8cfba 100644 (file)
--- a/vlan.c
+++ b/vlan.c
@@ -69,6 +69,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,
                .free = free_vlan_if,
        };
        struct vlan_device *vldev;