mac80211: implement fair queueing per txq
[deliverable/linux.git] / net / mac80211 / rx.c
index 5e65e838992a783c6af308b37954c788691a0057..9a1eb70cb1200349656b1274d23773d269839f31 100644 (file)
@@ -1268,7 +1268,7 @@ static void sta_ps_start(struct sta_info *sta)
        for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) {
                struct txq_info *txqi = to_txq_info(sta->sta.txq[tid]);
 
-               if (!skb_queue_len(&txqi->queue))
+               if (!txqi->tin.backlog_packets)
                        set_bit(tid, &sta->txq_buffered_tids);
                else
                        clear_bit(tid, &sta->txq_buffered_tids);
This page took 0.025204 seconds and 5 git commands to generate.