summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-18 18:35:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-18 18:35:31 +0000
commit1f88eb26acc9cacae5467e48f53caf88fc7d2507 (patch)
treeb1f09330d27d67f4c19394e76769170a7bb605f9 /package/mac80211
parentcfd97db63ea4f0c0c1b73679feec7a2d99300783 (diff)
downloadmtk-20170518-1f88eb26acc9cacae5467e48f53caf88fc7d2507.zip
mtk-20170518-1f88eb26acc9cacae5467e48f53caf88fc7d2507.tar.gz
mtk-20170518-1f88eb26acc9cacae5467e48f53caf88fc7d2507.tar.bz2
ath9k: fix compiler warning without debug enabled
SVN-Revision: 18452
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/560-ath9k_rate_control_api.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/mac80211/patches/560-ath9k_rate_control_api.patch b/package/mac80211/patches/560-ath9k_rate_control_api.patch
index 912ab68..b4f2a12 100644
--- a/package/mac80211/patches/560-ath9k_rate_control_api.patch
+++ b/package/mac80211/patches/560-ath9k_rate_control_api.patch
@@ -1148,6 +1148,15 @@
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