diff options
author | Christian Marangi <[email protected]> | 2023-04-19 23:07:40 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-05-25 12:07:35 +0100 |
commit | e2f24cb1b5daf9a4f6f3ba574c1fa74aab9807a4 (patch) | |
tree | dc22e87826c1870cf75697f29698d7f400e69e94 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | cee4bd16c3195a701be683f7da9e88c6e11acb73 (diff) |
leds: trigger: netdev: Drop NETDEV_LED_MODE_LINKUP from mode
Putting NETDEV_LED_MODE_LINKUP in the same list of the netdev trigger
modes is wrong as it's used to set the link state of the device and not
to set a blink mode as it's done by NETDEV_LED_LINK, NETDEV_LED_TX and
NETDEV_LED_RX. It's also wrong to put this state in the same bitmap of the
netdev trigger mode and should be external to it.
Drop NETDEV_LED_MODE_LINKUP from mode list and convert to a simple bool
that will be true or false based on the carrier link. No functional
change intended.
Signed-off-by: Christian Marangi <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions