projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e78f5fa
)
qlge: bugfix: Add missing netif_napi_del call.
author
Ron Mercer
<ron.mercer@qlogic.com>
Mon, 2 Feb 2009 21:54:31 +0000
(13:54 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 2 Feb 2009 21:54:31 +0000
(13:54 -0800)
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/qlge/qlge_main.c
b/drivers/net/qlge/qlge_main.c
index c6c070475f070d8528393370525df92dedb1efbb..3d1d7b6e55aa9153d2fddd8b032f6cc5b8346f4b 100644
(file)
--- 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)
{
struct net_device *ndev = pci_get_drvdata(pdev);
struct ql_adapter *qdev = netdev_priv(ndev);
- int err;
+ int err
, i
;
netif_device_detach(ndev);
@@
-3846,6
+3846,9
@@
static int qlge_suspend(struct pci_dev *pdev, pm_message_t state)
return err;
}
+ for (i = qdev->rss_ring_first_cq_id; i < qdev->rx_ring_count; i++)
+ netif_napi_del(&qdev->rx_ring[i].napi);
+
err = pci_save_state(pdev);
if (err)
return err;