device: make link status detection optional for vlan devices
authorFelix Fietkau <nbd@openwrt.org>
Mon, 20 Oct 2014 20:07:18 +0000 (22:07 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 20 Oct 2014 20:07:20 +0000 (22:07 +0200)
commit5a4eb870afc69e9fa93fdccb8a42f75e8e357f4e
tree894f3c5937cf1f8941f0121f75c6dc283cce2bec
parentfd7d5b43d85b2e3bb2eee98644bca833c6202048
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>
device.h
macvlan.c
system-linux.c
vlan.c
vlandev.c