Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] [Bug #442] < vs <= in two comparisons
@ 2014-04-19  3:26 Dave Taht
  2014-04-19 11:22 ` Felix Fietkau
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Taht @ 2014-04-19  3:26 UTC (permalink / raw)
  To: cerowrt-devel, cerowrt, Felix Fietkau

Could part of it be as simple as not checking for '<='  but only < in
txq_max_pending below?

in ath_tx_start:

        ath_txq_lock(sc, txq);
        if (txq == sc->tx.txq_map[q] &&
            ++txq->pending_frames > sc->tx.txq_max_pending[q] &&
            !txq->stopped) {
                ieee80211_stop_queue(sc->hw, q);
                txq->stopped = true;
        }

in ath_txq_skb_done:

        if (txq->stopped &&
            txq->pending_frames < sc->tx.txq_max_pending[q]) {
                ieee80211_wake_queue(sc->hw, q);
                txq->stopped = false;
        }


-- 
Dave Täht

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-19 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-19  3:26 [Cerowrt-devel] [Bug #442] < vs <= in two comparisons Dave Taht
2014-04-19 11:22 ` Felix Fietkau
2014-04-19 18:00   ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox