diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-04-12 16:18:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-12 16:18:44 -0400 |
commit | 252f4bf400df1712408fe83ba199a66a1b57ab1d (patch) | |
tree | e07fa00abdd55b31e22567786c78635f32c6a66c /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | 6ba1037c3d871ab70e342631516dbf841c35b086 (diff) | |
parent | b37e3b6d64358604960b35e8ecbb7aed22e0926e (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
drivers/net/wireless/ath/ar9170/main.c
drivers/net/wireless/ath/ar9170/phy.c
drivers/net/wireless/zd1211rw/zd_rf_rf2959.c
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 88fa7fdffd05..3cea3f76e373 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -1980,7 +1980,7 @@ static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, | |||
1980 | if (ieee80211_is_data(hdr->frame_control) && | 1980 | if (ieee80211_is_data(hdr->frame_control) && |
1981 | (ts->ts_flags & (ATH9K_TX_DATA_UNDERRUN | | 1981 | (ts->ts_flags & (ATH9K_TX_DATA_UNDERRUN | |
1982 | ATH9K_TX_DELIM_UNDERRUN)) && | 1982 | ATH9K_TX_DELIM_UNDERRUN)) && |
1983 | ah->tx_trig_level >= sc->sc_ah->caps.tx_triglevel_max) | 1983 | ah->tx_trig_level >= sc->sc_ah->config.max_txtrig_level) |
1984 | tx_info->status.rates[tx_rateindex].count = | 1984 | tx_info->status.rates[tx_rateindex].count = |
1985 | hw->max_rate_tries; | 1985 | hw->max_rate_tries; |
1986 | } | 1986 | } |
@@ -2144,33 +2144,6 @@ static void ath_tx_complete_poll_work(struct work_struct *work) | |||
2144 | } else { | 2144 | } else { |
2145 | txq->axq_tx_inprogress = true; | 2145 | txq->axq_tx_inprogress = true; |
2146 | } | 2146 | } |
2147 | } else { | ||
2148 | /* If the queue has pending buffers, then it | ||
2149 | * should be doing tx work (and have axq_depth). | ||
2150 | * Shouldn't get to this state I think..but | ||
2151 | * we do. | ||
2152 | */ | ||
2153 | if (!(sc->sc_flags & (SC_OP_OFFCHANNEL)) && | ||
2154 | (txq->pending_frames > 0 || | ||
2155 | !list_empty(&txq->axq_acq) || | ||
2156 | txq->stopped)) { | ||
2157 | ath_err(ath9k_hw_common(sc->sc_ah), | ||
2158 | "txq: %p axq_qnum: %u," | ||
2159 | " mac80211_qnum: %i" | ||
2160 | " axq_link: %p" | ||
2161 | " pending frames: %i" | ||
2162 | " axq_acq empty: %i" | ||
2163 | " stopped: %i" | ||
2164 | " axq_depth: 0 Attempting to" | ||
2165 | " restart tx logic.\n", | ||
2166 | txq, txq->axq_qnum, | ||
2167 | txq->mac80211_qnum, | ||
2168 | txq->axq_link, | ||
2169 | txq->pending_frames, | ||
2170 | list_empty(&txq->axq_acq), | ||
2171 | txq->stopped); | ||
2172 | ath_txq_schedule(sc, txq); | ||
2173 | } | ||
2174 | } | 2147 | } |
2175 | spin_unlock_bh(&txq->axq_lock); | 2148 | spin_unlock_bh(&txq->axq_lock); |
2176 | } | 2149 | } |