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
parent
dabe592f45
commit
7492b1c873
3
lib.c
3
lib.c
|
|
@ -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",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue