Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24726
b: refs/heads/master
c: e1b1b58
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed Mar 27, 2006
1 parent 049b979 commit 20c9565
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73733847beead47dc31b1f8e1532e5eea9f8ddd3
refs/heads/master: e1b1b581b847a5ae9409a02a586476eaba2b3f89
19 changes: 7 additions & 12 deletions trunk/drivers/net/wireless/bcm43xx/bcm43xx_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1765,22 +1765,17 @@ static void bcm43xx_interrupt_tasklet(struct bcm43xx_private *bcm)
/* We intentionally don't set "activity" to 1, here. */
}
if (dma_reason[3] & BCM43xx_DMAIRQ_RX_DONE) {
if (likely(bcm->current_core->rev < 5)) {
if (bcm43xx_using_pio(bcm))
bcm43xx_pio_rx(bcm->current_core->pio->queue3);
else
bcm43xx_dma_rx(bcm->current_core->dma->rx_ring1);
activity = 1;
} else
assert(0);
if (bcm43xx_using_pio(bcm))
bcm43xx_pio_rx(bcm->current_core->pio->queue3);
else
bcm43xx_dma_rx(bcm->current_core->dma->rx_ring1);
activity = 1;
}
bcmirq_handled(BCM43xx_IRQ_RX);

if (reason & BCM43xx_IRQ_XMIT_STATUS) {
if (bcm->current_core->rev >= 5) {
handle_irq_transmit_status(bcm);
activity = 1;
}
handle_irq_transmit_status(bcm);
activity = 1;
//TODO: In AP mode, this also causes sending of powersave responses.
bcmirq_handled(BCM43xx_IRQ_XMIT_STATUS);
}
Expand Down

0 comments on commit 20c9565

Please sign in to comment.