ath9k: merge fixes from r25204, r25205
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jan 2011 16:58:51 +0000 (16:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jan 2011 16:58:51 +0000 (16:58 +0000)
SVN-Revision: 25206

package/mac80211/patches/540-ath9k_fix_queue_debug.patch
package/mac80211/patches/550-ath9k_optimize_memory_allocation.patch

index f2d784640295ba21340174cb34709cd844e86748..4dea506ae6c7b7631dcde1144a2d398fbe237a10 100644 (file)
  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
index 8d3d62a83fd708bb41d76362ed636ec2bbdb4401..0ce3c00c256bf04acb7798d20c96c54a4d5fcf30 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) {