aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r--drivers/net/e1000/e1000_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 62ef267b3d64..0816de267610 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -3581,6 +3581,11 @@ e1000_update_stats(struct e1000_adapter *adapter)
3581 adapter->net_stats.tx_aborted_errors = adapter->stats.ecol; 3581 adapter->net_stats.tx_aborted_errors = adapter->stats.ecol;
3582 adapter->net_stats.tx_window_errors = adapter->stats.latecol; 3582 adapter->net_stats.tx_window_errors = adapter->stats.latecol;
3583 adapter->net_stats.tx_carrier_errors = adapter->stats.tncrs; 3583 adapter->net_stats.tx_carrier_errors = adapter->stats.tncrs;
3584 if (adapter->hw.bad_tx_carr_stats_fd &&
3585 adapter->link_duplex == FULL_DUPLEX) {
3586 adapter->net_stats.tx_carrier_errors = 0;
3587 adapter->stats.tncrs = 0;
3588 }
3584 3589
3585 /* Tx Dropped needs to be maintained elsewhere */ 3590 /* Tx Dropped needs to be maintained elsewhere */
3586 3591