can: mcp251x: fix reception of standard RTR frames
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 21 Oct 2010 06:37:10 +0000 (06:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Oct 2010 17:48:59 +0000 (10:48 -0700)
commitb9958a951ed4f8adff9ce02c2b1cb4ede8e2aa0e
treee4769a1ceb27ec5c48fa4f3a398ea00d13333a8a
parent9a27586d3d5c3157260b055d057c6f4f6654c72c
can: mcp251x: fix reception of standard RTR frames

This patch sets the missing CAN_RTR_FLAG if a standard RTR frame is
received.
(For extended frames the CAN_RTR_FLAG was already set correctly.)

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/mcp251x.c