atl1c: set ATL1C_WORK_EVENT_RESET bit correctly
Subsystems (4)
PATCH 1/1 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 <[email protected]>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c +1 -1
@@ -1711,7 +1711,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 ; }
From: Dan Carpenter <[email protected]>
Date: Wed, 7 Mar 2012 13:02:04 +0300
Quoted 4 lines
ATL1C_WORK_EVENT_RESETis zero so the original code here is a nop. The intent was to set the zero bit.Signed-off-by Dan Carpenter <[email protected]>
Applied.