linux/drivers/net/can/usb
Jeroen Hofstee 128a1b87d3 can: peak_usb: report bus recovery as well
While the state changes are reported when the error counters increase
and decrease, there is no event when the bus recovers and the error
counters decrease again. So add those as well.

Change the state going downward to be ERROR_PASSIVE -> ERROR_WARNING ->
ERROR_ACTIVE instead of directly to ERROR_ACTIVE again.

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Cc: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2019-11-04 21:47:20 +01:00
..
kvaser_usb can: kvaser_usb: Use struct_size() in alloc_candev() 2019-07-24 10:31:53 +02:00
peak_usb can: peak_usb: report bus recovery as well 2019-11-04 21:47:20 +01:00
ems_usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 164 2019-05-30 11:26:38 -07:00
esd_usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 164 2019-05-30 11:26:38 -07:00
gs_usb.c can: gs_usb: gs_can_open(): prevent memory leak 2019-11-04 21:47:20 +01:00
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
Makefile can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c 2018-07-27 10:40:19 +02:00
mcba_usb.c can: mcba_usb: fix use-after-free on disconnect 2019-11-04 21:47:20 +01:00
ucan.c can: ucan: fix spelling mistake: "resumbmitting" -> "resubmitting" 2018-11-28 16:19:52 +01:00
usb_8dev.c can: usb_8dev: fix use-after-free on disconnect 2019-11-04 21:47:20 +01:00