From: Dan Carpenter Date: Wed, 7 Mar 2012 00:02:04 +0000 (+0000) Subject: atl1c: set ATL1C_WORK_EVENT_RESET bit correctly X-Git-Tag: v3.3-rc7~11^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=783154573236f46b730b2eea17d2e6e04bdb3251;p=profile%2Fcommon%2Fkernel-common.git atl1c: set ATL1C_WORK_EVENT_RESET bit correctly ATL1C_WORK_EVENT_RESET is zero so the original code here is a nop. The intent was to set the zero bit. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 1ff3c6d..47a9bb2 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -1710,7 +1710,7 @@ static irqreturn_t atl1c_intr(int irq, void *data) "atl1c hardware error (status = 0x%x)\n", status & ISR_ERROR); /* reset MAC */ - adapter->work_event |= ATL1C_WORK_EVENT_RESET; + set_bit(ATL1C_WORK_EVENT_RESET, &adapter->work_event); schedule_work(&adapter->common_task); return IRQ_HANDLED; }