From 5a4eb870afc69e9fa93fdccb8a42f75e8e357f4e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 20 Oct 2014 22:07:18 +0200 Subject: 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 --- vlandev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vlandev.c') diff --git a/vlandev.c b/vlandev.c index 36a5c63..7b2038e 100644 --- a/vlandev.c +++ b/vlandev.c @@ -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, -- cgit v1.2.1