diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-07-16 13:49:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 15:11:37 -0400 |
commit | 0f245ed20b8df90f7610f0f62f9c3513e084a679 (patch) | |
tree | 294b5fdda057ec3c390a6c83ab1918959dc3921e | |
parent | 7eea1a23b47743be2dab4d29ad1f5b65f7ef3d7b (diff) |
ath5k: fix txop limit handling
Same as the recent ath9k fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/mac80211-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/mac80211-ops.c b/drivers/net/wireless/ath/ath5k/mac80211-ops.c index 22b80af0f47c..260e7dc7f751 100644 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c +++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c | |||
@@ -594,7 +594,7 @@ ath5k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, | |||
594 | qi.tqi_aifs = params->aifs; | 594 | qi.tqi_aifs = params->aifs; |
595 | qi.tqi_cw_min = params->cw_min; | 595 | qi.tqi_cw_min = params->cw_min; |
596 | qi.tqi_cw_max = params->cw_max; | 596 | qi.tqi_cw_max = params->cw_max; |
597 | qi.tqi_burst_time = params->txop; | 597 | qi.tqi_burst_time = params->txop * 32; |
598 | 598 | ||
599 | ATH5K_DBG(ah, ATH5K_DEBUG_ANY, | 599 | ATH5K_DBG(ah, ATH5K_DEBUG_ANY, |
600 | "Configure tx [queue %d], " | 600 | "Configure tx [queue %d], " |