From 883e3080165380a65f58842a0e7f833040d3f033 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 11 Jul 2012 16:44:13 +0000
Subject: ath9k: add missing part of the aggregation duration fix

SVN-Revision: 32668
---
 package/mac80211/patches/570-ath9k_fix_max_aggr_duration.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'package/mac80211')

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 b2fbf59..ea5d5b7 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.1