diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-28 16:58:08 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-28 16:58:08 +0000 |
commit | 636cc564f05efbd89ea280e4366967df7bbea120 (patch) | |
tree | 7d8eea7b573cdaf772009fc2029208acd5019071 /package/mac80211/patches | |
parent | 60c0cecdea809c8b286e60050c798cd4a366303a (diff) |
ath9k: reduce allocation size, common->cachelz is already added to the buffer size elsewhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r-- | package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch | 2 |
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) { |