ath9k: reduce allocation size, common->cachelz is already added to the buffer size elsewhere
SVN-Revision: 25205
This commit is contained in:
parent
0a54236bea
commit
04628c88d4
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
sc->sc_flags &= ~SC_OP_RXFLUSH;
|
sc->sc_flags &= ~SC_OP_RXFLUSH;
|
||||||
spin_lock_init(&sc->rx.rxbuflock);
|
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;
|
+ sc->sc_ah->caps.rx_status_len;
|
||||||
+
|
+
|
||||||
if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
|
if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
|
||||||
|
|
Loading…
Reference in a new issue