]> git.karo-electronics.de Git - karo-tx-linux.git/commit
can: pch_can: fix invalid error codes
authorOlivier Sobrie <olivier@sobrie.be>
Fri, 18 Jan 2013 08:32:41 +0000 (09:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 00:26:59 +0000 (18:26 -0600)
commitc53238c5954ec36649969e92e138db2a65662c7a
tree4a110b26e7b18198871dd1581234359e284ed23a
parent4e46bfb5f56c9b2e6c4ac3ee729a0cb8f88ba674
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/pch_can.c