diff options
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 0f047d42158f..7776b5c42ac7 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -4207,7 +4207,11 @@ static int bcm43xx_resume(struct pci_dev *pdev) | |||
4207 | dprintk(KERN_INFO PFX "Resuming...\n"); | 4207 | dprintk(KERN_INFO PFX "Resuming...\n"); |
4208 | 4208 | ||
4209 | pci_set_power_state(pdev, 0); | 4209 | pci_set_power_state(pdev, 0); |
4210 | pci_enable_device(pdev); | 4210 | err = pci_enable_device(pdev); |
4211 | if (err) { | ||
4212 | printk(KERN_ERR PFX "Failure with pci_enable_device!\n"); | ||
4213 | return err; | ||
4214 | } | ||
4211 | pci_restore_state(pdev); | 4215 | pci_restore_state(pdev); |
4212 | 4216 | ||
4213 | bcm43xx_chipset_attach(bcm); | 4217 | bcm43xx_chipset_attach(bcm); |