aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r--drivers/net/qlge/qlge_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index e2d0e108b9aa..4ffebe83d883 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -3926,12 +3926,12 @@ static int ql_adapter_down(struct ql_adapter *qdev)
3926 for (i = 0; i < qdev->rss_ring_count; i++) 3926 for (i = 0; i < qdev->rss_ring_count; i++)
3927 netif_napi_del(&qdev->rx_ring[i].napi); 3927 netif_napi_del(&qdev->rx_ring[i].napi);
3928 3928
3929 ql_free_rx_buffers(qdev);
3930
3931 status = ql_adapter_reset(qdev); 3929 status = ql_adapter_reset(qdev);
3932 if (status) 3930 if (status)
3933 netif_err(qdev, ifdown, qdev->ndev, "reset(func #%d) FAILED!\n", 3931 netif_err(qdev, ifdown, qdev->ndev, "reset(func #%d) FAILED!\n",
3934 qdev->func); 3932 qdev->func);
3933 ql_free_rx_buffers(qdev);
3934
3935 return status; 3935 return status;
3936} 3936}
3937 3937