can: c_can: disable one shot mode until driver is fixed
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Mar 2011 02:34:32 +0000 (02:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Mar 2011 06:35:00 +0000 (23:35 -0700)
commitee6f0988a69b3a81bcea0871418ecf5db332149c
treed21f294ba512ea20fbbee4ab02caa4f9a04bbedc
parent53914b67993c724cec585863755c9ebc8446e83b
can: c_can: disable one shot mode until driver is fixed

This patch disables the one shot mode, until the driver has been fixed and
tested to support it.

> I'm quite sure I've seen a situation where msg_obj 17 "seemed" to be
> pending, while msg_obj 18 and 19 already have been transmitted. But
> in that case, I enabled ONESHOT for the can interface, which enables
> the DA mode (automatic retransmission is disabled).

Reported-by: Jan Altenberg <jan@linutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Cc: Bhupesh Sharma <bhupesh.sharma@st.com>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/c_can/c_can.c