[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101021.043306.149829565.davem@davemloft.net>
Date: Thu, 21 Oct 2010 04:33:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mkl@...gutronix.de
Cc: socketcan-core@...ts.berlios.de, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] can: mcp251x: fix generation of error frames
From: Marc Kleine-Budde <mkl@...gutronix.de>
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 <mkl@...gutronix.de>
> Tested-by: Jargalan Nermunkh <jargalan.nermunkh@...ticallink.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists