|
@@ -1444,14 +1444,16 @@ void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc,
|
|
for (tidno = 0, tid = &an->tid[tidno];
|
|
for (tidno = 0, tid = &an->tid[tidno];
|
|
tidno < IEEE80211_NUM_TIDS; tidno++, tid++) {
|
|
tidno < IEEE80211_NUM_TIDS; tidno++, tid++) {
|
|
|
|
|
|
- if (!tid->sched)
|
|
|
|
- continue;
|
|
|
|
-
|
|
|
|
ac = tid->ac;
|
|
ac = tid->ac;
|
|
txq = ac->txq;
|
|
txq = ac->txq;
|
|
|
|
|
|
ath_txq_lock(sc, txq);
|
|
ath_txq_lock(sc, txq);
|
|
|
|
|
|
|
|
+ if (!tid->sched) {
|
|
|
|
+ ath_txq_unlock(sc, txq);
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+
|
|
buffered = ath_tid_has_buffered(tid);
|
|
buffered = ath_tid_has_buffered(tid);
|
|
|
|
|
|
tid->sched = false;
|
|
tid->sched = false;
|