can: ti_hecc: fix invalid error codes
authorOlivier Sobrie <olivier@sobrie.be>
Fri, 18 Jan 2013 08:32:40 +0000 (09:32 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 26 Jan 2013 16:13:32 +0000 (17:13 +0100)
commit71088c4bd9b8f8cbffb0e66f2abc14297e4b2ca8
treea0ddb63f2d91394275c1c7f180b24787596d2fac
parent6ea45886865c1abb01bb861f7f6bdd5d0f398cb3
can: ti_hecc: fix invalid error codes

Errors in CAN protocol (location) are reported in data[3] of the can
frame instead of data[2].

Cc: linux-stable <stable@vger.kernel.org>
Cc: Anant Gole <anantgole@ti.com>
Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ti_hecc.c