bnx2: Add missing netif_tx_disable() in bnx2_close()
authorMichael Chan <mchan@broadcom.com>
Wed, 27 Jun 2012 15:08:24 +0000 (15:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2012 04:20:09 +0000 (21:20 -0700)
to stop all tx queues.  Update version to 2.2.3.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c

index e6116ec..9eb7624 100644 (file)
@@ -58,8 +58,8 @@
 #include "bnx2_fw.h"
 
 #define DRV_MODULE_NAME                "bnx2"
-#define DRV_MODULE_VERSION     "2.2.2"
-#define DRV_MODULE_RELDATE     "June 16, 2012"
+#define DRV_MODULE_VERSION     "2.2.3"
+#define DRV_MODULE_RELDATE     "June 27, 2012"
 #define FW_MIPS_FILE_06                "bnx2/bnx2-mips-06-6.2.3.fw"
 #define FW_RV2P_FILE_06                "bnx2/bnx2-rv2p-06-6.0.15.fw"
 #define FW_MIPS_FILE_09                "bnx2/bnx2-mips-09-6.2.1b.fw"
@@ -6703,6 +6703,7 @@ bnx2_close(struct net_device *dev)
 
        bnx2_disable_int_sync(bp);
        bnx2_napi_disable(bp);
+       netif_tx_disable(dev);
        del_timer_sync(&bp->timer);
        bnx2_shutdown_chip(bp);
        bnx2_free_irq(bp);