can: pch_can: fix invalid error codes
authorOlivier Sobrie <olivier@sobrie.be>
Fri, 18 Jan 2013 08:32:41 +0000 (09:32 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Feb 2013 04:33:48 +0000 (04:33 +0000)
commit79654e81bbd146017c8cd55aa9e88b668cf385e9
tree622c3fd99de5c9761b00dac228a7e4e5efa2f3bc
parent6fad7bfb8aef9a8688d3d3b3ea917b3c7d1fc8b7
can: pch_can: fix invalid error codes

commit ee50e135aeb048b90fab662e661c58b67341830b upstream.

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

Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/can/pch_can.c