diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2014-07-25 20:16:40 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2014-08-21 10:50:00 +0200 |
commit | 8ce261d0bb491da957278cdcba207791f329d1da (patch) | |
tree | 6e03a19648f7b073d73d7dae621136631414923c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bc03a54139baafcd8fe89ad115411c2c9c8a4905 (diff) |
can: flexcan: handle state passive -> warning transition
Once the CAN-bus is open and a packet is sent, the controller switches
into the PASSIVE state. Once the BUS is closed again it goes the back
err-warning. The TX error counter goes 0 -> 0x80 -> 0x7f.
This patch makes sure that the user learns about this state chang
(CAN_STATE_ERROR_WARNING => CAN_STATE_ERROR_PASSIVE)
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Matthias Klein <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions