lib: Update error messages according to new state change handling

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>
This commit is contained in:
Andri Yngvason
2014-12-18 14:40:42 +01:00
committed by Oliver Hartkopp
parent dabe592f45
commit 7492b1c873
+2 -1
View File
@@ -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",
};