diff options
-rw-r--r-- | drivers/net/igb/igb_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 3b79ad8be53a..88f135f4b27f 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -858,6 +858,10 @@ void igb_down(struct igb_adapter *adapter) | |||
858 | 858 | ||
859 | netdev->tx_queue_len = adapter->tx_queue_len; | 859 | netdev->tx_queue_len = adapter->tx_queue_len; |
860 | netif_carrier_off(netdev); | 860 | netif_carrier_off(netdev); |
861 | |||
862 | /* record the stats before reset*/ | ||
863 | igb_update_stats(adapter); | ||
864 | |||
861 | adapter->link_speed = 0; | 865 | adapter->link_speed = 0; |
862 | adapter->link_duplex = 0; | 866 | adapter->link_duplex = 0; |
863 | 867 | ||