bnx2: Fix bnx2_netif_stop() merge error.
authorMichael Chan <mchan@broadcom.com>
Mon, 21 Dec 2009 02:40:18 +0000 (18:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Dec 2009 02:40:18 +0000 (18:40 -0800)
The error was introduced while merging:

commit 4529819c45161e4a119134f56ef504e69420bc98
bnx2: reset_task is crashing the kernel. Fixing it.

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

index f38764e..65df1de 100644 (file)
@@ -666,6 +666,7 @@ bnx2_netif_stop(struct bnx2 *bp)
                        txq->trans_start = jiffies;
                }
        }
+       bnx2_disable_int_sync(bp);
 }
 
 static void
@@ -679,7 +680,6 @@ bnx2_netif_start(struct bnx2 *bp)
                        bnx2_cnic_start(bp);
                }
        }
-       bnx2_disable_int_sync(bp);
 }
 
 static void