Skip to content

Commit

Permalink
ath9k: Re-enable RXOEL interrupt after processing rx buffers
Browse files Browse the repository at this point in the history
Once RXEOL was disabled, it never be enabled again. This patch
re-enables rxeol at the end of rx tasklet.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Rajkumar Manoharan authored and John W. Linville committed Aug 24, 2011
1 parent 0682c9b commit 29ab0b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/net/wireless/ath/ath9k/recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1978,5 +1978,10 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)

spin_unlock_bh(&sc->rx.rxbuflock);

if (!(ah->imask & ATH9K_INT_RXEOL)) {
ah->imask |= (ATH9K_INT_RXEOL | ATH9K_INT_RXORN);
ath9k_hw_set_interrupts(ah, ah->imask);
}

return 0;
}

0 comments on commit 29ab0b3

Please sign in to comment.