projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c684920
)
ath9k: fix misplaced ifdef
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 1 Mar 2012 15:22:08 +0000
(15:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 1 Mar 2012 15:22:08 +0000
(15:22 +0000)
SVN-Revision: 30766
package/mac80211/patches/560-ath9k_extra_leds.patch
patch
|
blob
|
history
diff --git
a/package/mac80211/patches/560-ath9k_extra_leds.patch
b/package/mac80211/patches/560-ath9k_extra_leds.patch
index 0557ec322d875be51b124962e4b65437d8322169..dafa2ea50e83a973f87e05c64f4adfcdadf272ed 100644
(file)
--- a/
package/mac80211/patches/560-ath9k_extra_leds.patch
+++ b/
package/mac80211/patches/560-ath9k_extra_leds.patch
@@
-182,9
+182,9
@@
#endif
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
#endif
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -125
4,6 +1254
,61 @@ static const struct file_operations fops
-
- #ifdef CONFIG_ATH9K_MAC_DEBUG
+@@ -125
2,6 +1252
,61 @@ static const struct file_operations fops
+ .llseek = default_llseek,
+ };
+#ifdef CONFIG_MAC80211_LEDS
+
+#ifdef CONFIG_MAC80211_LEDS
+
@@
-241,9
+241,9
@@
+
+#endif
+
+
+#endif
+
+ #ifdef CONFIG_ATH9K_MAC_DEBUG
+
void ath9k_debug_samp_bb_mac(struct ath_softc *sc)
void ath9k_debug_samp_bb_mac(struct ath_softc *sc)
- {
- #define ATH_SAMP_DBG(c) (sc->debug.bb_mac_samp[sc->debug.sampidx].c)
@@ -1681,6 +1736,11 @@ int ath9k_init_debug(struct ath_hw *ah)
&fops_samps);
#endif
@@ -1681,6 +1736,11 @@ int ath9k_init_debug(struct ath_hw *ah)
&fops_samps);
#endif