diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath5k/base.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c index 6caabebc4c66..7ac5f2847da5 100644 --- a/drivers/net/wireless/ath5k/base.c +++ b/drivers/net/wireless/ath5k/base.c | |||
@@ -2216,7 +2216,7 @@ ath5k_init(struct ath5k_softc *sc, bool is_resume) | |||
2216 | */ | 2216 | */ |
2217 | sc->curchan = sc->hw->conf.channel; | 2217 | sc->curchan = sc->hw->conf.channel; |
2218 | sc->curband = &sc->sbands[sc->curchan->band]; | 2218 | sc->curband = &sc->sbands[sc->curchan->band]; |
2219 | sc->imask = AR5K_INT_RX | AR5K_INT_TX | AR5K_INT_RXEOL | | 2219 | sc->imask = AR5K_INT_RXOK | AR5K_INT_TXOK | AR5K_INT_RXEOL | |
2220 | AR5K_INT_RXORN | AR5K_INT_FATAL | AR5K_INT_GLOBAL | | 2220 | AR5K_INT_RXORN | AR5K_INT_FATAL | AR5K_INT_GLOBAL | |
2221 | AR5K_INT_MIB; | 2221 | AR5K_INT_MIB; |
2222 | ret = ath5k_reset(sc, false, false); | 2222 | ret = ath5k_reset(sc, false, false); |
@@ -2410,9 +2410,10 @@ ath5k_intr(int irq, void *dev_id) | |||
2410 | /* bump tx trigger level */ | 2410 | /* bump tx trigger level */ |
2411 | ath5k_hw_update_tx_triglevel(ah, true); | 2411 | ath5k_hw_update_tx_triglevel(ah, true); |
2412 | } | 2412 | } |
2413 | if (status & AR5K_INT_RX) | 2413 | if (status & (AR5K_INT_RXOK | AR5K_INT_RXERR)) |
2414 | tasklet_schedule(&sc->rxtq); | 2414 | tasklet_schedule(&sc->rxtq); |
2415 | if (status & AR5K_INT_TX) | 2415 | if (status & (AR5K_INT_TXOK | AR5K_INT_TXDESC |
2416 | | AR5K_INT_TXERR | AR5K_INT_TXEOL)) | ||
2416 | tasklet_schedule(&sc->txtq); | 2417 | tasklet_schedule(&sc->txtq); |
2417 | if (status & AR5K_INT_BMISS) { | 2418 | if (status & AR5K_INT_BMISS) { |
2418 | } | 2419 | } |