ath9k: add missing part of the aggregation duration fix
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Jul 2012 16:44:13 +0000 (16:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 11 Jul 2012 16:44:13 +0000 (16:44 +0000)
SVN-Revision: 32668

package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch

index b2fbf59f395bee86fbf43cc483815e1857f0d483..ea5d5b793d7f749c6a86ae4165bd1d51518fdc37 100644 (file)
  static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf,
                             struct ath_tx_info *info, int len)
  {
+--- a/drivers/net/wireless/ath/ath9k/main.c
++++ b/drivers/net/wireless/ath/ath9k/main.c
+@@ -1366,6 +1366,7 @@ static int ath9k_conf_tx(struct ieee8021
+               queue, txq->axq_qnum, params->aifs, params->cw_min,
+               params->cw_max, params->txop);
++      ath_update_max_aggr_framelen(sc, queue, qi.tqi_burstTime);
+       ret = ath_txq_update(sc, txq->axq_qnum, &qi);
+       if (ret)
+               ath_err(common, "TXQ Update failed\n");