diff options
Diffstat (limited to 'package/mac80211/patches/571-ath9k_fix_dma_stop.patch')
-rw-r--r-- | package/mac80211/patches/571-ath9k_fix_dma_stop.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/package/mac80211/patches/571-ath9k_fix_dma_stop.patch b/package/mac80211/patches/571-ath9k_fix_dma_stop.patch index 072e657e2e..9f7cfa82ec 100644 --- a/package/mac80211/patches/571-ath9k_fix_dma_stop.patch +++ b/package/mac80211/patches/571-ath9k_fix_dma_stop.patch @@ -25,7 +25,7 @@ if (npend) --- a/drivers/net/wireless/ath/ath9k/mac.c +++ b/drivers/net/wireless/ath/ath9k/mac.c -@@ -143,6 +143,33 @@ bool ath9k_hw_updatetxtriglevel(struct a +@@ -143,6 +143,34 @@ bool ath9k_hw_updatetxtriglevel(struct a } EXPORT_SYMBOL(ath9k_hw_updatetxtriglevel); @@ -40,11 +40,12 @@ + REG_SET_BIT(ah, AR_D_GBL_IFS_MISC, AR_D_GBL_IFS_MISC_IGNORE_BACKOFF); + + for (q = 0; q < AR_NUM_QCU; q++) { -+ for (i = 1000; i > 0; i--) { ++ for (i = 0; i < 1000; i++) { ++ if (i) ++ udelay(5); ++ + if (!ath9k_hw_numtxpending(ah, q)) + break; -+ -+ udelay(5); + } + } + |