aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-14 19:20:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-10-14 19:20:02 +0000
commitb907e95125d5f28a5b31acf83a15934818a3a8b9 (patch)
treefc9359cb4bcc2900602401b0175efe4eb9544453 /package/kernel/mac80211
parent07043a853a34292a12044ab524d301ab5932315f (diff)
downloadupstream-b907e95125d5f28a5b31acf83a15934818a3a8b9.tar.gz
upstream-b907e95125d5f28a5b31acf83a15934818a3a8b9.tar.bz2
upstream-b907e95125d5f28a5b31acf83a15934818a3a8b9.zip
ath9k: reduce rx buffer allocation size
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38395
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/patches/300-pending_work.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/300-pending_work.patch b/package/kernel/mac80211/patches/300-pending_work.patch
index 94b3076c2e..42b6809305 100644
--- a/package/kernel/mac80211/patches/300-pending_work.patch
+++ b/package/kernel/mac80211/patches/300-pending_work.patch
@@ -5368,7 +5368,7 @@
- ds += (desc_len * ndesc);
- bf->bf_desc = ds;
- bf->bf_daddr = DS2PHYS(dd, ds);
-+ bsize = sizeof(struct ath_buf) * nbuf;
++ bsize = sizeof(struct ath_rxbuf) * nbuf;
+ bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL);
+ if (!bf)
+ return -ENOMEM;