Revert "be2net: call napi_disable() for all event queues"
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Nov 2013 23:53:36 +0000 (18:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Nov 2013 23:53:36 +0000 (18:53 -0500)
This reverts commit 55485e7b417b640870b14eceec4cfbcb2b3e7a92.

I applied the wrong version of this patch, the right one is coming up
next.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c

index 0aec4d23eb585701ada6538f7bc765e50cb103c0..78a0e859760b8bc6c75e4b67ea919776a23bc674 100644 (file)
@@ -2663,8 +2663,8 @@ static int be_close(struct net_device *netdev)
                        napi_disable(&eqo->napi);
                        be_disable_busy_poll(eqo);
                }
+               adapter->flags &= ~BE_FLAGS_NAPI_ENABLED;
        }
-       adapter->flags &= ~BE_FLAGS_NAPI_ENABLED;
 
        be_async_mcc_disable(adapter);