]> rtime.felk.cvut.cz Git - can-utils.git/commitdiff
lib: Update error messages according to new state change handling
authorAndri Yngvason <andri.yngvason@marel.com>
Thu, 18 Dec 2014 12:58:24 +0000 (13:58 +0100)
committerOliver Hartkopp <socketcan@hartkopp.net>
Thu, 18 Dec 2014 13:40:42 +0000 (14:40 +0100)
This patch updates the error messages for the reworked state change handling
from Andri Yngvason you find in mainline Linux 3.19+

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
lib.c

diff --git a/lib.c b/lib.c
index 2c8df32388c4ba7b604512c608b58549ce690067..973be52e5c5869c9a39718b5ea59f03cc8ac6a38 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -446,6 +446,7 @@ static const char *controller_problems[] = {
        "tx-error-warning",
        "rx-error-passive",
        "tx-error-passive",
+       "back-to-error-active",
 };
 
 static const char *protocol_violation_types[] = {
@@ -455,7 +456,7 @@ static const char *protocol_violation_types[] = {
        "tx-dominant-bit-error",
        "tx-recessive-bit-error",
        "bus-overload",
-       "back-to-error-active",
+       "active-error",
        "error-on-tx",
 };