From: Rajkumar Manoharan Date: Sat, 13 Aug 2011 04:58:10 +0000 (+0530) Subject: ath9k: Re-enable RXOEL interrupt after processing rx buffers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=29ab0b3632293b506d85adc9dcb323c79f40d428;p=linux-beck.git ath9k: Re-enable RXOEL interrupt after processing rx buffers 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 74094022b654..c0c66e0ca266 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -1978,5 +1978,10 @@ requeue: 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; }