summaryrefslogtreecommitdiffhomepage
path: root/vlan.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-06 02:05:50 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-06 02:05:50 +0200
commitbeaf1b3d4ad313522bdd02f4c561dca94360bd46 (patch)
treea099436d27baca513f26dae5269bf834624db3bf /vlan.c
parentf1b77140237f2f6e7f6b755b5a60ab212782456e (diff)
always recreate devices by default if the config attribute list is not the default one
Diffstat (limited to 'vlan.c')
-rw-r--r--vlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vlan.c b/vlan.c
index 3085868..bf8cfba 100644
--- 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;