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 | 38f940437eb3956fc1b59e50fd588a3d533ba95f (patch) | |
tree | ed33c49939ad1d295dbfba3307dc16c8a63da89c /target/linux/rb532 | |
parent | db937a2c6c73c7818011f07ae53fc9f68713232c (diff) | |
download | master-187ad058-38f940437eb3956fc1b59e50fd588a3d533ba95f.tar.gz master-187ad058-38f940437eb3956fc1b59e50fd588a3d533ba95f.tar.bz2 master-187ad058-38f940437eb3956fc1b59e50fd588a3d533ba95f.zip |
Fix tx stats (#2705)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9570 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532')
-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++; |