{
static const struct device_type vlan_type = {
.name = "VLAN",
+ .config_params = &device_attr_list,
.free = free_vlan_if,
};
struct vlan_device *vldev;
snprintf(vldev->dev.ifname, IFNAMSIZ, "%s.%d", dev->ifname, id);
device_init(&vldev->dev, &vlan_type, NULL);
+ vldev->dev.default_config = true;
vldev->set_state = vldev->dev.set_state;
vldev->dev.set_state = vlan_set_device_state;