diff options
Diffstat (limited to 'drivers/net/b44.c')
-rw-r--r-- | drivers/net/b44.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 3fe8ba992c38..38844d003e44 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -1927,6 +1927,7 @@ static int b44_suspend(struct pci_dev *pdev, pm_message_t state) | |||
1927 | b44_free_rings(bp); | 1927 | b44_free_rings(bp); |
1928 | 1928 | ||
1929 | spin_unlock_irq(&bp->lock); | 1929 | spin_unlock_irq(&bp->lock); |
1930 | pci_disable_device(pdev); | ||
1930 | return 0; | 1931 | return 0; |
1931 | } | 1932 | } |
1932 | 1933 | ||
@@ -1936,6 +1937,8 @@ static int b44_resume(struct pci_dev *pdev) | |||
1936 | struct b44 *bp = netdev_priv(dev); | 1937 | struct b44 *bp = netdev_priv(dev); |
1937 | 1938 | ||
1938 | pci_restore_state(pdev); | 1939 | pci_restore_state(pdev); |
1940 | pci_enable_device(pdev); | ||
1941 | pci_set_master(pdev); | ||
1939 | 1942 | ||
1940 | if (!netif_running(dev)) | 1943 | if (!netif_running(dev)) |
1941 | return 0; | 1944 | return 0; |