Browse Source

ath9k: fix a compile error in the debug stubs (fixes #8737, #8745)

SVN-Revision: 25204
Felix Fietkau 15 years ago
parent
commit
0a54236bea
1 changed files with 10 additions and 0 deletions
  1. 10 0
      package/mac80211/patches/540-ath9k_fix_queue_debug.patch

+ 10 - 0
package/mac80211/patches/540-ath9k_fix_queue_debug.patch

@@ -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