1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -550,7 +550,8 @@ static void ath_tx_complete_aggr(struct
5 tid->ac->clear_ps_filter = true;
6 list_splice(&bf_pending, &tid->buf_q);
7 - ath_tx_queue_tid(txq, tid);
9 + ath_tx_queue_tid(txq, tid);
10 spin_unlock_bh(&txq->axq_lock);
13 @@ -1410,7 +1411,8 @@ static void ath_tx_send_ampdu(struct ath
15 TX_STAT_INC(txctl->txq->axq_qnum, a_queued_sw);
16 list_add_tail(&bf->list, &tid->buf_q);
17 - ath_tx_queue_tid(txctl->txq, tid);
18 + if (!txctl->an || !txctl->an->sleeping)
19 + ath_tx_queue_tid(txctl->txq, tid);