ath9k: Re-enable RXOEL interrupt after processing rx buffers
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Sat, 13 Aug 2011 04:58:10 +0000 (10:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Aug 2011 17:59:44 +0000 (13:59 -0400)
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>
drivers/net/wireless/ath/ath9k/recv.c

index 74094022b654980b823e258033d7acce058b62b1..c0c66e0ca2667dde72cdadc9a2148ae85f3685fb 100644 (file)
@@ -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;
 }