|
@@ -418,8 +418,7 @@ static int rt2800pci_init_queues(struct rt2x00_dev *rt2x00dev)
|
|
|
static void rt2800pci_toggle_irq(struct rt2x00_dev *rt2x00dev,
|
|
|
enum dev_state state)
|
|
|
{
|
|
|
- int mask = (state == STATE_RADIO_IRQ_ON) ||
|
|
|
- (state == STATE_RADIO_IRQ_ON_ISR);
|
|
|
+ int mask = (state == STATE_RADIO_IRQ_ON);
|
|
|
u32 reg;
|
|
|
unsigned long flags;
|
|
|
|
|
@@ -564,9 +563,7 @@ static int rt2800pci_set_device_state(struct rt2x00_dev *rt2x00dev,
|
|
|
rt2800pci_set_state(rt2x00dev, STATE_SLEEP);
|
|
|
break;
|
|
|
case STATE_RADIO_IRQ_ON:
|
|
|
- case STATE_RADIO_IRQ_ON_ISR:
|
|
|
case STATE_RADIO_IRQ_OFF:
|
|
|
- case STATE_RADIO_IRQ_OFF_ISR:
|
|
|
rt2800pci_toggle_irq(rt2x00dev, state);
|
|
|
break;
|
|
|
case STATE_DEEP_SLEEP:
|