can bcm: fix incomplete tx_setup fix
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 29 Sep 2011 19:33:47 +0000 (15:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Sep 2011 19:33:47 +0000 (15:33 -0400)
commit12d0d0d3a7349daa95dbfd5d7df8146255bc7c67
tree8dde0268c6afdb71142d59c9090b7d9abe88e222
parent85a64889492b45f931ddac87ec09d84aa7347ee1
can bcm: fix incomplete tx_setup fix

The commit aabdcb0b553b9c9547b1a506b34d55a764745870 ("can bcm: fix tx_setup
off-by-one errors") fixed only a part of the original problem reported by
Andre Naujoks. It turned out that the original code needed to be re-ordered
to reduce complexity and to finally fix the reported frame counting issues.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/bcm.c