ath9k: add some more fixes for the tx queueing rework
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 560-ath9k_prepare_tid_queue_split.patch
index d2c2bac78c44ce0bfcf0f4fc8c687a997b7c19b6..8ac529426a0a1d7452104f3f38d768166c375055 100644 (file)
                        TX_STAT_INC(txq->axq_qnum, a_queued_hw);
  
 -                      if (skb_queue_empty(&tid->buf_q))
-+                      if (ath_tid_has_buffered(tid))
++                      if (!ath_tid_has_buffered(tid))
                                ieee80211_sta_set_buffered(an->sta, i, false);
                }
                ath_txq_unlock_complete(sc, tid->ac->txq);