]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: c_can: fix invalid error codes
authorOlivier Sobrie <olivier@sobrie.be>
Fri, 18 Jan 2013 08:32:39 +0000 (09:32 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 26 Jan 2013 16:11:24 +0000 (17:11 +0100)
commit6ea45886865c1abb01bb861f7f6bdd5d0f398cb3
treec0618382dac05441a3beadbff06c04d2ee852c3b
parent5d0feaff230c0abfe4a112e6f09f096ed99e0b2d
can: c_can: 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: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c