summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2009-12-20 18:40:18 -0800
committerDavid S. Miller <davem@davemloft.net>2009-12-20 18:40:18 -0800
commitb74665606962456af7f92b1e448cee30ce70967b (patch)
tree46ad1f5106df4a02d54366194653502b0c8c2497 /drivers/net
parent7c65ec7958f4f301d5d2ff50476a21e7735c73e8 (diff)
downloadblackbird-op-linux-b74665606962456af7f92b1e448cee30ce70967b.tar.gz
blackbird-op-linux-b74665606962456af7f92b1e448cee30ce70967b.zip
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 <mchan@broadcom.com>k Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud