1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 11:16:47 +02:00

ath9k: merge fixes from r25204, r25205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25206 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-01-28 16:58:51 +00:00
parent 6850d22cf4
commit b708a83af4
2 changed files with 11 additions and 1 deletions

View File

@ -88,6 +88,16 @@
void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs);
#else
@@ -192,7 +192,8 @@ static inline void ath_debug_stat_interr
static inline void ath_debug_stat_tx(struct ath_softc *sc,
struct ath_buf *bf,
- struct ath_tx_status *ts)
+ struct ath_tx_status *ts,
+ struct ath_txq *txq)
{
}
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1913,7 +1913,7 @@ static void ath_tx_complete_buf(struct a

View 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) {