ath5k: fix txop calculation similar to what was done in ath9k
[openwrt/staging/chunkeey.git] / package / mac80211 / patches / 421-ath5k_fix_txop.patch
1 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c
2 +++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c
3 @@ -617,7 +617,7 @@ ath5k_conf_tx(struct ieee80211_hw *hw, s
4 qi.tqi_aifs = params->aifs;
5 qi.tqi_cw_min = params->cw_min;
6 qi.tqi_cw_max = params->cw_max;
7 - qi.tqi_burst_time = params->txop;
8 + qi.tqi_burst_time = params->txop * 32;
9
10 ATH5K_DBG(ah, ATH5K_DEBUG_ANY,
11 "Configure tx [queue %d], "