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>
pull/1/head
Andri Yngvason 2014-12-18 13:58:24 +01:00 committed by Oliver Hartkopp
parent dabe592f45
commit 7492b1c873
1 changed files with 2 additions and 1 deletions

3
lib.c
View File

@ -446,6 +446,7 @@ static const char *controller_problems[] = {
"tx-error-warning", "tx-error-warning",
"rx-error-passive", "rx-error-passive",
"tx-error-passive", "tx-error-passive",
"back-to-error-active",
}; };
static const char *protocol_violation_types[] = { static const char *protocol_violation_types[] = {
@ -455,7 +456,7 @@ static const char *protocol_violation_types[] = {
"tx-dominant-bit-error", "tx-dominant-bit-error",
"tx-recessive-bit-error", "tx-recessive-bit-error",
"bus-overload", "bus-overload",
"back-to-error-active", "active-error",
"error-on-tx", "error-on-tx",
}; };