ath9k: reduce allocation size, common->cachelz is already added to the buffer size...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 28 Jan 2011 16:58:08 +0000 (16:58 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 28 Jan 2011 16:58:08 +0000 (16:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25205 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch

index 8d3d62a..0ce3c00 100644 (file)
@@ -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) {
This page took 0.03697 seconds and 4 git commands to generate.