]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath5k: fix txop limit handling
authorFelix Fietkau <nbd@openwrt.org>
Mon, 16 Jul 2012 17:49:07 +0000 (19:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:37 +0000 (15:11 -0400)
Same as the recent ath9k fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/mac80211-ops.c

index 22b80af0f47ce89c72165c2c0c679fbd23cfeecf..260e7dc7f7512af8442f957e2b4e6b2985355237 100644 (file)
@@ -594,7 +594,7 @@ ath5k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue,
        qi.tqi_aifs = params->aifs;
        qi.tqi_cw_min = params->cw_min;
        qi.tqi_cw_max = params->cw_max;
-       qi.tqi_burst_time = params->txop;
+       qi.tqi_burst_time = params->txop * 32;
 
        ATH5K_DBG(ah, ATH5K_DEBUG_ANY,
                  "Configure tx [queue %d],  "