Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278383
b: refs/heads/master
c: 4eb287a
h: refs/heads/master
i:
  278381: fe0db85
  278379: e6c488a
  278375: 79641d7
  278367: bac5fa4
v: v3
  • Loading branch information
Nikolay Martynov authored and John W. Linville committed Nov 28, 2011
1 parent f6d561f commit 36ab47e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f724828bd3db7e0fe6f17ed8de2656bfbfed5c4e
refs/heads/master: 4eb287a4048e4a2cb0400a6d972d97739ec8c799
13 changes: 6 additions & 7 deletions trunk/drivers/net/wireless/ath/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ static void ath_tx_flush_tid(struct ath_softc *sc, struct ath_atx_tid *tid)
spin_lock_bh(&txq->axq_lock);
}

if (tid->baw_head == tid->baw_tail) {
tid->state &= ~AGGR_ADDBA_COMPLETE;
tid->state &= ~AGGR_CLEANUP;
}

spin_unlock_bh(&txq->axq_lock);
}

Expand Down Expand Up @@ -556,15 +561,9 @@ static void ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq,
spin_unlock_bh(&txq->axq_lock);
}

if (tid->state & AGGR_CLEANUP) {
if (tid->state & AGGR_CLEANUP)
ath_tx_flush_tid(sc, tid);

if (tid->baw_head == tid->baw_tail) {
tid->state &= ~AGGR_ADDBA_COMPLETE;
tid->state &= ~AGGR_CLEANUP;
}
}

rcu_read_unlock();

if (needreset) {
Expand Down

0 comments on commit 36ab47e

Please sign in to comment.