|
@@ -2847,10 +2847,11 @@ static int atl1_resume(struct pci_dev *pdev)
|
|
|
pci_enable_wake(pdev, PCI_D3cold, 0);
|
|
|
|
|
|
atl1_reset_hw(&adapter->hw);
|
|
|
- adapter->cmb.cmb->int_stats = 0;
|
|
|
|
|
|
- if (netif_running(netdev))
|
|
|
+ if (netif_running(netdev)) {
|
|
|
+ adapter->cmb.cmb->int_stats = 0;
|
|
|
atl1_up(adapter);
|
|
|
+ }
|
|
|
netif_device_attach(netdev);
|
|
|
|
|
|
return 0;
|