mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 06:34:04 +02:00
124b907145
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25966 3c298f89-4303-0410-b956-a3cf2f4a3e73
37 lines
1.0 KiB
Diff
37 lines
1.0 KiB
Diff
--- a/drivers/net/wireless/ath/ath9k/xmit.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
|
|
@@ -2226,33 +2226,6 @@ static void ath_tx_complete_poll_work(st
|
|
} else {
|
|
txq->axq_tx_inprogress = true;
|
|
}
|
|
- } else {
|
|
- /* If the queue has pending buffers, then it
|
|
- * should be doing tx work (and have axq_depth).
|
|
- * Shouldn't get to this state I think..but
|
|
- * we do.
|
|
- */
|
|
- if (!(sc->sc_flags & (SC_OP_OFFCHANNEL)) &&
|
|
- (txq->pending_frames > 0 ||
|
|
- !list_empty(&txq->axq_acq) ||
|
|
- txq->stopped)) {
|
|
- ath_err(ath9k_hw_common(sc->sc_ah),
|
|
- "txq: %p axq_qnum: %u,"
|
|
- " mac80211_qnum: %i"
|
|
- " axq_link: %p"
|
|
- " pending frames: %i"
|
|
- " axq_acq empty: %i"
|
|
- " stopped: %i"
|
|
- " axq_depth: 0 Attempting to"
|
|
- " restart tx logic.\n",
|
|
- txq, txq->axq_qnum,
|
|
- txq->mac80211_qnum,
|
|
- txq->axq_link,
|
|
- txq->pending_frames,
|
|
- list_empty(&txq->axq_acq),
|
|
- txq->stopped);
|
|
- ath_txq_schedule(sc, txq);
|
|
- }
|
|
}
|
|
spin_unlock_bh(&txq->axq_lock);
|
|
}
|