From: Padmanabh Ratnakar Date: Sun, 3 Apr 2011 01:54:39 +0000 (+0000) Subject: be2net: Fix suspend/resume operation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f5db833758a9650ad002058e40760aaa11d732e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git be2net: Fix suspend/resume operation eq_next_idx is not getting reset to zero during suspend. This causes resume to fail. Added the fix. Signed-off-by: Sarveswara Rao Mygapula Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 1a4808c6311f..88d4c8038be4 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -2345,6 +2345,7 @@ static int be_clear(struct be_adapter *adapter) be_mcc_queues_destroy(adapter); be_rx_queues_destroy(adapter); be_tx_queues_destroy(adapter); + adapter->eq_next_idx = 0; if (be_physfn(adapter) && adapter->sriov_enabled) for (vf = 0; vf < num_vfs; vf++)