aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-11-17 22:40:22 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-26 09:47:34 -0500
commitdaa9deb359252496796fa2b7420012e252b327b6 (patch)
tree73b327657291688676fd096d55959c68e5235374 /drivers/net
parent788a3d6f3df595a6537ef537433c870d090afe02 (diff)
ath9k: Update TX trigger level on a FIFO underrun.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath9k/mac.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/mac.c b/drivers/net/wireless/ath9k/mac.c
index c344a81e738a..36955e0b1849 100644
--- a/drivers/net/wireless/ath9k/mac.c
+++ b/drivers/net/wireless/ath9k/mac.c
@@ -293,8 +293,10 @@ int ath9k_hw_txprocdesc(struct ath_hal *ah, struct ath_desc *ds)
293 ds->ds_txstat.ts_status |= ATH9K_TXERR_XRETRY; 293 ds->ds_txstat.ts_status |= ATH9K_TXERR_XRETRY;
294 if (ads->ds_txstatus1 & AR_Filtered) 294 if (ads->ds_txstatus1 & AR_Filtered)
295 ds->ds_txstat.ts_status |= ATH9K_TXERR_FILT; 295 ds->ds_txstat.ts_status |= ATH9K_TXERR_FILT;
296 if (ads->ds_txstatus1 & AR_FIFOUnderrun) 296 if (ads->ds_txstatus1 & AR_FIFOUnderrun) {
297 ds->ds_txstat.ts_status |= ATH9K_TXERR_FIFO; 297 ds->ds_txstat.ts_status |= ATH9K_TXERR_FIFO;
298 ath9k_hw_updatetxtriglevel(ah, true);
299 }
298 if (ads->ds_txstatus9 & AR_TxOpExceeded) 300 if (ads->ds_txstatus9 & AR_TxOpExceeded)
299 ds->ds_txstat.ts_status |= ATH9K_TXERR_XTXOP; 301 ds->ds_txstat.ts_status |= ATH9K_TXERR_XTXOP;
300 if (ads->ds_txstatus1 & AR_TxTimerExpired) 302 if (ads->ds_txstatus1 & AR_TxTimerExpired)