On 9/25/19 10:58 AM, Jeroen Hofstee wrote: > 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@xxxxxxxxxxxxxxxxx> > Cc: Stephane Grosjean <s.grosjean@xxxxxxxxxxxxxxx> Applied to linux-can. Tnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature