aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index c83406f4f2a7..7f1cfc48e1b2 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -4536,7 +4536,9 @@ static int sky2_resume(struct pci_dev *pdev)
4536 if (err) { 4536 if (err) {
4537 printk(KERN_ERR PFX "%s: could not up: %d\n", 4537 printk(KERN_ERR PFX "%s: could not up: %d\n",
4538 dev->name, err); 4538 dev->name, err);
4539 rtnl_lock();
4539 dev_close(dev); 4540 dev_close(dev);
4541 rtnl_unlock();
4540 goto out; 4542 goto out;
4541 } 4543 }
4542 } 4544 }