aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3bb60530d4d7..62436b3a18c6 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -4404,7 +4404,9 @@ static int sky2_resume(struct pci_dev *pdev)
4404 if (err) { 4404 if (err) {
4405 printk(KERN_ERR PFX "%s: could not up: %d\n", 4405 printk(KERN_ERR PFX "%s: could not up: %d\n",
4406 dev->name, err); 4406 dev->name, err);
4407 rtnl_lock();
4407 dev_close(dev); 4408 dev_close(dev);
4409 rtnl_unlock();
4408 goto out; 4410 goto out;
4409 } 4411 }
4410 } 4412 }