ath9k: fix compiler warning without debug enabled
[openwrt-10.03/.git] / package / mac80211 / patches / 560-ath9k_rate_control_api.patch
index 912ab687241ed6f7d8cee9994437c0f64f79aa2c..b4f2a12ef1393614b19c3ccef54efeef27f8055c 100644 (file)
  void ath_debug_stat_tx(struct ath_softc *sc, struct ath_txq *txq,
                       struct ath_buf *bf);
  void ath_debug_stat_retries(struct ath_softc *sc, int rix,
+@@ -170,7 +171,7 @@ static inline void ath_debug_stat_interr
+ }
+ static inline void ath_debug_stat_rc(struct ath_softc *sc,
+-                                   struct sk_buff *skb)
++                                   int final_rate)
+ {
+ }
 --- a/drivers/net/wireless/ath/ath9k/debug.c
 +++ b/drivers/net/wireless/ath/ath9k/debug.c
 @@ -255,21 +255,11 @@ static const struct file_operations fops