linux/drivers/net/can/dev
Dario Binacchi 036bff2800 can: netlink: dump bitrate 0 if can_priv::bittiming.bitrate is -1U
Upcoming changes on slcan driver will require you to specify a bitrate
of value -1 to prevent the open_candev() from failing but at the same
time highlighting that it is a fake value. In this case the command
`ip --details -s -s link show' would print 4294967295 as the bitrate
value. The patch change this value in 0.

Link: https://lore.kernel.org/all/20220628163137.413025-5-dario.binacchi@amarulasolutions.com
Suggested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Tested-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-07-03 11:34:24 +02:00
..
Makefile can: Kconfig: add CONFIG_CAN_RX_OFFLOAD 2022-06-11 17:11:02 +02:00
bittiming.c can: bittiming: move bittiming calculation functions to calc_bittiming.c 2022-06-11 17:11:01 +02:00
calc_bittiming.c can: bittiming: move bittiming calculation functions to calc_bittiming.c 2022-06-11 17:11:01 +02:00
dev.c can: Kconfig: turn menu "CAN Device Drivers" into a menuconfig using CAN_DEV 2022-06-11 17:11:01 +02:00
length.c
netlink.c can: netlink: dump bitrate 0 if can_priv::bittiming.bitrate is -1U 2022-07-03 11:34:24 +02:00
rx-offload.c can: can-dev: remove obsolete CAN LED support 2022-05-19 22:15:51 +02:00
skb.c can: skb: drop tx skb if in listen only mode 2022-06-11 17:11:02 +02:00