X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F560-ath9k_ps_tx_aggr_fix.patch;fp=package%2Fmac80211%2Fpatches%2F560-ath9k_ps_tx_aggr_fix.patch;h=666b0022590ebebe34bfd0b0419bf9bd6aae6d70;hb=d8cbcec993db7c51882648e44a83ea3ecb3bec84;hp=0000000000000000000000000000000000000000;hpb=ac739d296b0dc67456e7b4512cd472c87b93b37c;p=openwrt-10.03%2F.git diff --git a/package/mac80211/patches/560-ath9k_ps_tx_aggr_fix.patch b/package/mac80211/patches/560-ath9k_ps_tx_aggr_fix.patch new file mode 100644 index 000000000..666b00225 --- /dev/null +++ b/package/mac80211/patches/560-ath9k_ps_tx_aggr_fix.patch @@ -0,0 +1,22 @@ +--- a/drivers/net/wireless/ath/ath9k/xmit.c ++++ b/drivers/net/wireless/ath/ath9k/xmit.c +@@ -550,7 +550,8 @@ static void ath_tx_complete_aggr(struct + if (clear_filter) + tid->ac->clear_ps_filter = true; + list_splice(&bf_pending, &tid->buf_q); +- ath_tx_queue_tid(txq, tid); ++ if (!an->sleeping) ++ ath_tx_queue_tid(txq, tid); + spin_unlock_bh(&txq->axq_lock); + } + +@@ -1410,7 +1411,8 @@ static void ath_tx_send_ampdu(struct ath + */ + TX_STAT_INC(txctl->txq->axq_qnum, a_queued_sw); + list_add_tail(&bf->list, &tid->buf_q); +- ath_tx_queue_tid(txctl->txq, tid); ++ if (!txctl->an || !txctl->an->sleeping) ++ ath_tx_queue_tid(txctl->txq, tid); + return; + } +