diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-16 18:23:05 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-16 18:23:05 +0000 |
commit | 75c0610d60b6ae67b0d5355e487800b2f711f2b2 (patch) | |
tree | dc36da286964b3d7e5ae4d2fdafc8ffd6f28ce1b /package/mac80211/patches/520-ath9k_fix_paprd.patch | |
parent | 3fc5f9de73cd9a08b08b44a2f798e8cc2c235707 (diff) |
ath9k: add some fixes for AR9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24016 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/520-ath9k_fix_paprd.patch')
-rw-r--r-- | package/mac80211/patches/520-ath9k_fix_paprd.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/mac80211/patches/520-ath9k_fix_paprd.patch b/package/mac80211/patches/520-ath9k_fix_paprd.patch new file mode 100644 index 0000000000..718d2da38f --- /dev/null +++ b/package/mac80211/patches/520-ath9k_fix_paprd.patch @@ -0,0 +1,22 @@ +--- a/drivers/net/wireless/ath/ath9k/xmit.c ++++ b/drivers/net/wireless/ath/ath9k/xmit.c +@@ -1656,9 +1656,6 @@ static void ath_tx_start_dma(struct ath_ + bf->bf_buf_addr, + txctl->txq->axq_qnum); + +- if (bf->bf_state.bfs_paprd) +- ar9003_hw_set_paprd_txdesc(ah, ds, bf->bf_state.bfs_paprd); +- + spin_lock_bh(&txctl->txq->axq_lock); + + if (bf_isht(bf) && (sc->sc_flags & SC_OP_TXAGGR) && +@@ -1684,6 +1681,9 @@ static void ath_tx_start_dma(struct ath_ + bf->bf_state.bfs_ftype = txctl->frame_type; + bf->bf_state.bfs_paprd = txctl->paprd; + ++ if (bf->bf_state.bfs_paprd) ++ ar9003_hw_set_paprd_txdesc(ah, ds, bf->bf_state.bfs_paprd); ++ + if (txctl->paprd) + bf->bf_state.bfs_paprd_timestamp = jiffies; + |