can: m_can: fix not set can_dlc for remote frame
authorDong Aisheng <b29396@freescale.com>
Tue, 18 Nov 2014 11:00:54 +0000 (19:00 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 18 Nov 2014 20:35:04 +0000 (21:35 +0100)
commit921f168109d029e3b59459c3a2754f0e2a70fad3
tree9cae8a1f1abfbf8d3e88e4fd1ba2f8df37b02d34
parentf6a99649526370c7a88b86736c02f2a74b5b20e7
can: m_can: fix not set can_dlc for remote frame

The original code missed to set the cf->can_dlc in the RTR case, so add it.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c