]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9d11be65737331cb3aeb02e7295d98d2046c22d
treee4769a1ceb27ec5c48fa4f3a398ea00d13333a8a
parent8fcd6446ad8227159aab91db42b595d58a594797
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