Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111922
b: refs/heads/master
c: e2f092f
h: refs/heads/master
v: v3
  • Loading branch information
Jay Cliburn authored and Jeff Garzik committed Sep 25, 2008
1 parent 1baa9bf commit 601dfaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1545e205db6e797861d644e3459339109f7573ff
refs/heads/master: e2f092ff9bf2ab515c14d2208b5f08c7d389d5d2
4 changes: 3 additions & 1 deletion trunk/drivers/net/atlx/atl2.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,10 @@ static void atl2_intr_tx(struct atl2_adapter *adapter)
atomic_set(&adapter->txd_read_ptr, (int)txd_read_ptr);

/* tx statistics: */
if (txs->ok)
if (txs->ok) {
adapter->net_stats.tx_bytes += txs->pkt_size;
adapter->net_stats.tx_packets++;
}
else
adapter->net_stats.tx_errors++;

Expand Down

0 comments on commit 601dfaa

Please sign in to comment.