X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/17c7b6c3fdc48301e50d22cc6138ede16bd1be24..96266367b7d0b9442c510b4c76a2b7d768c1f717:/target/linux/rb532/files/drivers/net/korina.c?ds=inline diff --git a/target/linux/rb532/files/drivers/net/korina.c b/target/linux/rb532/files/drivers/net/korina.c index 6dce2b921..e89f334cf 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++;