summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-10-21 03:01:14 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-24 23:47:48 +0200
commit8a0e0a49b0a917c8c8dce6f7121ec73a5c8e3932 (patch)
tree36478aa3ed999ef60fea8d728d28b55bf3c2825b /init
parentcan: at91_can: use correct bit to enable CAN_CTRLMODE_3_SAMPLES (diff)
downloadlinux-8a0e0a49b0a917c8c8dce6f7121ec73a5c8e3932.tar.xz
linux-8a0e0a49b0a917c8c8dce6f7121ec73a5c8e3932.zip
can: at91_can: fix reception of extended frames
The AT91_MID_MIDE bit must be set in order to receive extended frames. The reception of an extended frame sets this bit, while reception of standard frames resets it. This results in some lost extended frames in an extended ID only environment. But leads to unpredictable lost extended ID frames in a mixed environment. The problem is fixed by setting the AT91_MID_MIDE after reception of a CAN frame. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions