From c931254968b2436546cc54d1943f9e1affa1eaae Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 11 Jul 2012 16:44:13 +0000
Subject: ath9k: add missing part of the aggregation duration fix

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 | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'package')

diff --git a/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch b/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch
index b2fbf59f3..ea5d5b793 100644
--- a/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch
+++ b/package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch
@@ -123,3 +123,13 @@
  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");
-- 
cgit v1.2.3