net: 3c574_cs fix stats.tx_bytes counter
authorAlexander Kurz <akurz@blala.de>
Fri, 16 Apr 2010 03:01:01 +0000 (03:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2010 23:27:55 +0000 (16:27 -0700)
commitdf245dce572bc22b230a05532a3f9daee50effb5
treeae2dbed36263a6e42bc671c42efd15bf0531c342
parentbc8e4b954e463716a57d8113dd50ae9d47b682a7
net: 3c574_cs fix stats.tx_bytes counter

Update the stats counter calculation in 3c574_cs, similar
to the method used in 3c589_cs. This corrects the contents
of the counter on tests using a "Megahertz 574B" card.

[linux@dominikbrodowski.net: clean up commit message]
Signed-off-by: Alexander Kurz <linux@kbdbabel.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcmcia/3c574_cs.c