diff options
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index c6c070475f07..3d1d7b6e55aa 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -3836,7 +3836,7 @@ static int qlge_suspend(struct pci_dev *pdev, pm_message_t state) | |||
3836 | { | 3836 | { |
3837 | struct net_device *ndev = pci_get_drvdata(pdev); | 3837 | struct net_device *ndev = pci_get_drvdata(pdev); |
3838 | struct ql_adapter *qdev = netdev_priv(ndev); | 3838 | struct ql_adapter *qdev = netdev_priv(ndev); |
3839 | int err; | 3839 | int err, i; |
3840 | 3840 | ||
3841 | netif_device_detach(ndev); | 3841 | netif_device_detach(ndev); |
3842 | 3842 | ||
@@ -3846,6 +3846,9 @@ static int qlge_suspend(struct pci_dev *pdev, pm_message_t state) | |||
3846 | return err; | 3846 | return err; |
3847 | } | 3847 | } |
3848 | 3848 | ||
3849 | for (i = qdev->rss_ring_first_cq_id; i < qdev->rx_ring_count; i++) | ||
3850 | netif_napi_del(&qdev->rx_ring[i].napi); | ||
3851 | |||
3849 | err = pci_save_state(pdev); | 3852 | err = pci_save_state(pdev); |
3850 | if (err) | 3853 | if (err) |
3851 | return err; | 3854 | return err; |