Thread (1 message) 1 message, 1 author, 2010-10-21

Re: [PATCH 2/2] can: mcp251x: fix generation of error frames

From: David Miller <hidden>
Date: 2010-10-21 11:33:06

From: Marc Kleine-Budde <redacted>
Date: Wed, 20 Oct 2010 12:02:26 +0200
The function "mcp251x_error_skb" is used to generate error frames.
They are identified by the "CAN_ERR_FLAG" in can_id. The function
overwrites the can_id so that the frames show up as normal frames instead
of error frames.

This patch fixes the problem by or'ing the can_id instead of overwriting it.

Signed-off-by: Marc Kleine-Budde <redacted>
Tested-by: Jargalan Nermunkh <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help