aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/skge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index e812dbb09c84..b8dfe337313a 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -3416,8 +3416,8 @@ static int skge_resume(struct pci_dev *pdev)
3416 struct net_device *dev = hw->dev[i]; 3416 struct net_device *dev = hw->dev[i];
3417 if (dev) { 3417 if (dev) {
3418 netif_device_attach(dev); 3418 netif_device_attach(dev);
3419 if (netif_running(dev)) 3419 if (netif_running(dev) && skge_up(dev))
3420 skge_up(dev); 3420 dev_close(dev);
3421 } 3421 }
3422 } 3422 }
3423 return 0; 3423 return 0;