summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-18 18:35:31 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-18 18:35:31 +0000
commitf3154a2f5101b1241306547c237c41ee80b4a955 (patch)
treecc30d409ecd7e7eb1ab37d97d69427c90b8d17c7
parenta2b5bdfc5da6fe9f586edbce3c876857e0bb6017 (diff)
ath9k: fix compiler warning without debug enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18452 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 912ab68724..b4f2a12ef1 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