summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-14 19:20:02 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-14 19:20:02 +0000
commit41dd4cad15f3040c018e8f31658138059a3db4e1 (patch)
tree48ee232b2132e63d790acc0556aa967dc7fee3eb
parentd477b815b657d1f433c893ddff4a84cd603036f6 (diff)
ath9k: reduce rx buffer allocation size
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38395 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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;