]> git.baikalelectronics.ru Git - kernel.git/commit
can: slcan: extend the protocol with CAN state info
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 28 Jun 2022 16:31:36 +0000 (18:31 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 3 Jul 2022 09:34:45 +0000 (11:34 +0200)
commit86595f943de9a68149edbe5d7fcdfceb96d15aeb
tree3aa61c10863390233d46150a57bfe2dcfd51a2d1
parent74d2fc435bc39f341aadb807cd41ba7dbe447006
can: slcan: extend the protocol with CAN state info

It extends the protocol to receive the adapter CAN state changes
(warning, busoff, etc.) and forward them to the netdev upper levels.

Link: https://lore.kernel.org/all/20220628163137.413025-13-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