net: can: kvaser_usb: fix reception on "USBcan Pro" and "USBcan R" type hardware.
authorJonas Peterson <jonas.peterson@gmail.com>
Tue, 7 May 2013 20:05:23 +0000 (22:05 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 3 Jun 2013 12:02:56 +0000 (14:02 +0200)
commita90f13b24fb40d02d11496cce6a10ae8d4b319b2
tree76c21e9eed1dbea3db89eedf6652cd44da7afe91
parent01cb71d2d47b78354358e4bb938bb06323e17498
net: can: kvaser_usb: fix reception on "USBcan Pro" and "USBcan R" type hardware.

Unlike Kvaser Leaf light devices, some other Kvaser devices (like USBcan
Pro, USBcan R) receive CAN messages in CMD_LOG_MESSAGE frames. This
patch adds support for it.

Cc: linux-stable <stable@vger.kernel.org> # >= v3.8
Signed-off-by: Jonas Peterson <jonas.peterson@gmail.com>
Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/kvaser_usb.c