diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-20 22:07:18 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-20 22:07:20 +0200 |
commit | 5a4eb870afc69e9fa93fdccb8a42f75e8e357f4e (patch) | |
tree | 894f3c5937cf1f8941f0121f75c6dc283cce2bec /vlandev.c | |
parent | fd7d5b43d85b2e3bb2eee98644bca833c6202048 (diff) |
device: make link status detection optional for vlan devices
Fixes a race condition that triggers endless link loss / detect calls
when VLAN devices are created.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'vlandev.c')
-rw-r--r-- | vlandev.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -246,6 +246,7 @@ vlandev_create(const char *name, struct blob_attr *attr) const struct device_type vlandev_device_type = { .name = "VLANDEV", .config_params = &vlandev_attr_list, + .keep_link_status = true, .create = vlandev_create, .config_init = vlandev_config_init, |