From 6a30d14811ec1d911f45b3e924fb6d0a1bdb0196 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 14 Oct 2013 19:20:02 +0000 Subject: ath9k: reduce rx buffer allocation size Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38395 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/mac80211/patches/300-pending_work.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel') 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; -- cgit v1.2.3