+@@ -2060,8 +2048,7 @@ static void ath_wake_mac80211_queue(stru
+ int qnum;
+
+ spin_lock_bh(&txq->axq_lock);
+- if (txq->stopped &&
+- sc->tx.txq[txq->axq_qnum].axq_depth <= (ATH_TXBUF - 20)) {
++ if (txq->stopped && txq->pending_frames < ATH_MAX_QDEPTH) {
+ qnum = ath_get_mac80211_qnum(txq->axq_qnum, sc);
+ if (qnum != -1) {
+ ath_mac80211_start_queue(sc, qnum);