OSDN Git Service

can: slcan: extend the protocol with error info
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 28 Jun 2022 16:31:35 +0000 (18:31 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 3 Jul 2022 09:34:44 +0000 (11:34 +0200)
commitb32ff4668544e1333b694fcc7812b2d7397b4d6a
tree503c31aae27dff3fe06a8a55387b416e99709840
parent4de0e8efa052b1f0b3dae9e7c1538163cad216e7
can: slcan: extend the protocol with error info

It extends the protocol to receive the adapter CAN communication errors
and forward them to the netdev upper levels.

Link: https://lore.kernel.org/all/20220628163137.413025-12-dario.binacchi@amarulasolutions.com
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/slcan/slcan-core.c