diff options
| author | Rasmus Villemoes <[email protected]> | 2019-06-24 08:34:13 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2019-07-24 11:06:39 +0200 |
| commit | c63845609c4700488e5eacd6ab4d06d5d420e5ef (patch) | |
| tree | 603f129d616baab646d7d218f1b1515ac9f39697 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d86afb89305de205b0d2f20c2160adf039e9508d (diff) | |
can: dev: call netif_carrier_off() in register_candev()
CONFIG_CAN_LEDS is deprecated. When trying to use the generic netdev
trigger as suggested, there's a small inconsistency with the link
property: The LED is on initially, stays on when the device is brought
up, and then turns off (as expected) when the device is brought down.
Make sure the LED always reflects the state of the CAN device.
Signed-off-by: Rasmus Villemoes <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions