]> 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)
commita711c53a50af48120d3a80f4e3546acca99f23d3
tree3aa61c10863390233d46150a57bfe2dcfd51a2d1
parent2bbb3bfbb201211b50925c3840acafd1956d0636
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