1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 13:11:09 +02:00

Fix tx stats (#2705)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9570 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-11-16 07:31:28 +00:00
parent bc2b4b018b
commit 6cc483ae40

View File

@ -910,6 +910,7 @@ static void rc32434_tx_tasklet(unsigned long tx_data_dev)
} }
else if (IS_TX_TOK(devcs)) { else if (IS_TX_TOK(devcs)) {
lp->stats.tx_packets++; lp->stats.tx_packets++;
lp->stats.tx_bytes+=lp->tx_skb[lp->tx_next_done]->len;
} }
else { else {
lp->stats.tx_errors++; lp->stats.tx_errors++;