diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/b44.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 5485e3b1cd35..0ee3e27969c6 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -2041,6 +2041,8 @@ static int b44_suspend(struct pci_dev *pdev, pm_message_t state) | |||
2041 | b44_free_rings(bp); | 2041 | b44_free_rings(bp); |
2042 | 2042 | ||
2043 | spin_unlock_irq(&bp->lock); | 2043 | spin_unlock_irq(&bp->lock); |
2044 | |||
2045 | free_irq(dev->irq, dev); | ||
2044 | pci_disable_device(pdev); | 2046 | pci_disable_device(pdev); |
2045 | return 0; | 2047 | return 0; |
2046 | } | 2048 | } |
@@ -2057,6 +2059,9 @@ static int b44_resume(struct pci_dev *pdev) | |||
2057 | if (!netif_running(dev)) | 2059 | if (!netif_running(dev)) |
2058 | return 0; | 2060 | return 0; |
2059 | 2061 | ||
2062 | if (request_irq(dev->irq, b44_interrupt, SA_SHIRQ, dev->name, dev)) | ||
2063 | printk(KERN_ERR PFX "%s: request_irq failed\n", dev->name); | ||
2064 | |||
2060 | spin_lock_irq(&bp->lock); | 2065 | spin_lock_irq(&bp->lock); |
2061 | 2066 | ||
2062 | b44_init_rings(bp); | 2067 | b44_init_rings(bp); |