From: Michael Chan Date: Mon, 21 Dec 2009 02:40:18 +0000 (-0800) Subject: bnx2: Fix bnx2_netif_stop() merge error. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b74665606962456af7f92b1e448cee30ce70967b;p=openwrt%2Fstaging%2Fblogic.git bnx2: Fix bnx2_netif_stop() merge error. The error was introduced while merging: commit 4529819c45161e4a119134f56ef504e69420bc98 bnx2: reset_task is crashing the kernel. Fixing it. Signed-off-by: Michael Chan k Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index f38764ec02c3..65df1de447e4 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -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