diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-23 20:57:33 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-30 20:15:21 +0200 |
commit | 83860c594f65945b1a2c99e84338e1145cd34890 (patch) | |
tree | 6dd405215e9a3fb63be0d2d368578cf11aece998 /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | ath9k_hw: remove ATH9K_HW_CAP_ENHANCEDPM (diff) | |
download | linux-83860c594f65945b1a2c99e84338e1145cd34890.tar.xz linux-83860c594f65945b1a2c99e84338e1145cd34890.zip |
ath9k_hw: remove pCap->tx_triglevel_max
It has the same purpose (and value) as ah->config.max_txtrig_level
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index f916f088b553..5943bdc4c8f9 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, if (ieee80211_is_data(hdr->frame_control) && (ts->ts_flags & (ATH9K_TX_DATA_UNDERRUN | ATH9K_TX_DELIM_UNDERRUN)) && - ah->tx_trig_level >= sc->sc_ah->caps.tx_triglevel_max) + ah->tx_trig_level >= sc->sc_ah->config.max_txtrig_level) tx_info->status.rates[tx_rateindex].count = hw->max_rate_tries; } |