mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-07 19:44:03 +02:00
36ae05501c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29560 3c298f89-4303-0410-b956-a3cf2f4a3e73
26 lines
814 B
Diff
26 lines
814 B
Diff
--- a/drivers/net/wireless/ath/ath9k/xmit.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
|
|
@@ -189,8 +189,11 @@ static void ath_tx_flush_tid(struct ath_
|
|
tid->state &= ~AGGR_CLEANUP;
|
|
}
|
|
|
|
- if (sendbar)
|
|
+ if (sendbar) {
|
|
+ spin_unlock_bh(&txq->axq_lock);
|
|
ath_send_bar(tid, tid->seq_start);
|
|
+ spin_lock_bh(&txq->axq_lock);
|
|
+ }
|
|
}
|
|
|
|
static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid,
|
|
@@ -566,7 +569,9 @@ static void ath_tx_complete_aggr(struct
|
|
|
|
if (bar_index >= 0) {
|
|
u16 bar_seq = ATH_BA_INDEX2SEQ(seq_first, bar_index);
|
|
+ spin_unlock_bh(&txq->axq_lock);
|
|
ath_send_bar(tid, ATH_BA_INDEX2SEQ(seq_first, bar_index + 1));
|
|
+ spin_lock_bh(&txq->axq_lock);
|
|
if (BAW_WITHIN(tid->seq_start, tid->baw_size, bar_seq))
|
|
tid->bar_index = ATH_BA_INDEX(tid->seq_start, bar_seq);
|
|
}
|