diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-07-02 02:06:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-03 22:10:37 -0400 |
commit | 13cfd5be53d01a9316907512f17f34d3858450e8 (patch) | |
tree | c0b35d68e260db8e342d334c634f1be8ecbd6833 /drivers/net/qlge/qlge_main.c | |
parent | 6e9e4795e688fd61fa83f7f4cad4992939fd4ca3 (diff) |
qlge: Fix tx byte counter.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge_main.c')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 1b75f6efd7f4..74ed84a288c2 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -1629,7 +1629,7 @@ static void ql_process_mac_tx_intr(struct ql_adapter *qdev, | |||
1629 | tx_ring = &qdev->tx_ring[mac_rsp->txq_idx]; | 1629 | tx_ring = &qdev->tx_ring[mac_rsp->txq_idx]; |
1630 | tx_ring_desc = &tx_ring->q[mac_rsp->tid]; | 1630 | tx_ring_desc = &tx_ring->q[mac_rsp->tid]; |
1631 | ql_unmap_send(qdev, tx_ring_desc, tx_ring_desc->map_cnt); | 1631 | ql_unmap_send(qdev, tx_ring_desc, tx_ring_desc->map_cnt); |
1632 | qdev->stats.tx_bytes += tx_ring_desc->map_cnt; | 1632 | qdev->stats.tx_bytes += (tx_ring_desc->skb)->len; |
1633 | qdev->stats.tx_packets++; | 1633 | qdev->stats.tx_packets++; |
1634 | dev_kfree_skb(tx_ring_desc->skb); | 1634 | dev_kfree_skb(tx_ring_desc->skb); |
1635 | tx_ring_desc->skb = NULL; | 1635 | tx_ring_desc->skb = NULL; |