summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2023-05-29 18:32:39 +0200
committerDavid S. Miller <davem@davemloft.net>2023-05-31 09:42:09 +0100
commit33ec0b53befff2c0a7f3aa19ff08556d60585d6b (patch)
treedd6b5a5484f6c46f8704bb4c8d0f5b962ae0ce12 /drivers/net/dsa/dsa_loop.h
parent7c145a34ba6e380616af93262fcab9fc7261d851 (diff)
leds: trigger: netdev: validate configured netdev
The netdev which the LED should blink for is configurable in /sys/class/led/foo/device_name. Ensure when offloading that the configured netdev is the same as the netdev the LED is associated with. If it is not, only perform software blinking. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.h')
0 files changed, 0 insertions, 0 deletions