diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-11-16 07:31:28 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-11-16 07:31:28 +0000 |
commit | edea76ab775cfbf40ac65ded5351af2515cbf86d (patch) | |
tree | 68b9e079bd0c9b946c4d87e6b161382901d76a78 /target/linux | |
parent | d8faf285a828f0a5fa851505f4482a53763f3dd6 (diff) | |
download | upstream-edea76ab775cfbf40ac65ded5351af2515cbf86d.tar.gz upstream-edea76ab775cfbf40ac65ded5351af2515cbf86d.tar.bz2 upstream-edea76ab775cfbf40ac65ded5351af2515cbf86d.zip |
Fix tx stats (#2705)
SVN-Revision: 9570
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/rb532/files/drivers/net/korina.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/rb532/files/drivers/net/korina.c b/target/linux/rb532/files/drivers/net/korina.c index 6dce2b921b..e89f334cf2 100644 --- a/target/linux/rb532/files/drivers/net/korina.c +++ b/target/linux/rb532/files/drivers/net/korina.c @@ -910,6 +910,7 @@ static void rc32434_tx_tasklet(unsigned long tx_data_dev) } else if (IS_TX_TOK(devcs)) { lp->stats.tx_packets++; + lp->stats.tx_bytes+=lp->tx_skb[lp->tx_next_done]->len; } else { lp->stats.tx_errors++; |