projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
586ffda
)
ath9k: fix cabq depth accounting
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 20 Jun 2013 13:10:31 +0000
(13:10 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 20 Jun 2013 13:10:31 +0000
(13:10 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36977
package/mac80211/patches/300-pending_work.patch
patch
|
blob
|
history
diff --git
a/package/mac80211/patches/300-pending_work.patch
b/package/mac80211/patches/300-pending_work.patch
index 1f6f95e12b27270c924fcfae618a10d50a493ac0..8a5fa6e50233142dd7d197214d576d4d20ae260c 100644
(file)
--- a/
package/mac80211/patches/300-pending_work.patch
+++ b/
package/mac80211/patches/300-pending_work.patch
@@
-281,3
+281,22
@@
*/
struct sta_ampdu_mlme {
struct mutex mtx;
*/
struct sta_ampdu_mlme {
struct mutex mtx;
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -1778,9 +1778,13 @@ static void ath_tx_txqaddbuf(struct ath_
+ }
+
+ if (!internal) {
+- txq->axq_depth++;
+- if (bf_is_ampdu_not_probing(bf))
+- txq->axq_ampdu_depth++;
++ while (bf) {
++ txq->axq_depth++;
++ if (bf_is_ampdu_not_probing(bf))
++ txq->axq_ampdu_depth++;
++
++ bf = bf->bf_lastbf->bf_next;
++ }
+ }
+ }
+