ath9k: add missing part of the aggregation duration fix
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 11 Jul 2012 16:44:13 +0000 (16:44 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 11 Jul 2012 16:44:13 +0000 (16:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32668 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch

index b2fbf59..ea5d5b7 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");