aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-28 16:58:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-01-28 16:58:08 +0000
commit04628c88d40b44381a7daf4c635088b91241278b (patch)
treeb36456465c7a1f8d8f35d35e30a3893972784841 /package/mac80211/patches
parent0a54236bea1343ba01e6fb82a1c82f723c56c212 (diff)
downloadupstream-04628c88d40b44381a7daf4c635088b91241278b.tar.gz
upstream-04628c88d40b44381a7daf4c635088b91241278b.tar.bz2
upstream-04628c88d40b44381a7daf4c635088b91241278b.zip
ath9k: reduce allocation size, common->cachelz is already added to the buffer size elsewhere
SVN-Revision: 25205
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch b/package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch
index 8d3d62a83f..0ce3c00c25 100644
--- a/package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch
+++ b/package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch
@@ -30,7 +30,7 @@
sc->sc_flags &= ~SC_OP_RXFLUSH;
spin_lock_init(&sc->rx.rxbuflock);
-+ common->rx_bufsize = IEEE80211_MAX_MPDU_LEN / 2 + common->cachelsz +
++ common->rx_bufsize = IEEE80211_MAX_MPDU_LEN / 2 +
+ sc->sc_ah->caps.rx_status_len;
+
if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {