diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 329f3283697..137a24e520d 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1368,8 +1368,10 @@ static void rt2400pci_tbtt_tasklet(unsigned long data) | |||
1368 | static void rt2400pci_rxdone_tasklet(unsigned long data) | 1368 | static void rt2400pci_rxdone_tasklet(unsigned long data) |
1369 | { | 1369 | { |
1370 | struct rt2x00_dev *rt2x00dev = (struct rt2x00_dev *)data; | 1370 | struct rt2x00_dev *rt2x00dev = (struct rt2x00_dev *)data; |
1371 | rt2x00pci_rxdone(rt2x00dev); | 1371 | if (rt2x00pci_rxdone(rt2x00dev)) |
1372 | rt2400pci_enable_interrupt(rt2x00dev, CSR8_RXDONE); | 1372 | tasklet_schedule(&rt2x00dev->rxdone_tasklet); |
1373 | else | ||
1374 | rt2400pci_enable_interrupt(rt2x00dev, CSR8_RXDONE); | ||
1373 | } | 1375 | } |
1374 | 1376 | ||
1375 | static irqreturn_t rt2400pci_interrupt(int irq, void *dev_instance) | 1377 | static irqreturn_t rt2400pci_interrupt(int irq, void *dev_instance) |