projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc40x: fix build errors in the CF and ISP116X drivers
[openwrt.git]
/
package
/
mac80211
/
patches
/
560-ath9k_extra_leds.patch
diff --git
a/package/mac80211/patches/560-ath9k_extra_leds.patch
b/package/mac80211/patches/560-ath9k_extra_leds.patch
index
ed749ed
..
dafa2ea
100644
(file)
--- a/
package/mac80211/patches/560-ath9k_extra_leds.patch
+++ b/
package/mac80211/patches/560-ath9k_extra_leds.patch
@@
-171,7
+171,7
@@
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -75
7,7 +757
,7 @@ int ath9k_init_device(u16 devid, struct
+@@ -75
9,7 +759
,7 @@ int ath9k_init_device(u16 devid, struct
#ifdef CONFIG_MAC80211_LEDS
/* must be initialized before ieee80211_register_hw */
#ifdef CONFIG_MAC80211_LEDS
/* must be initialized before ieee80211_register_hw */
@@
-182,7
+182,7
@@
#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
-@@ -12
47,6 +1247
,61 @@ static const struct file_operations fops
+@@ -12
52,6 +1252
,61 @@ static const struct file_operations fops
.llseek = default_llseek,
};
.llseek = default_llseek,
};
@@
-241,12
+241,12
@@
+
+#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)
-@@ -1671,6 +1726,11 @@ int ath9k_init_debug(struct ath_hw *ah)
- debugfs_create_file("samples", S_IRUSR, sc->debug.debugfs_phy, sc,
+@@ -1681,6 +1736,11 @@ int ath9k_init_debug(struct ath_hw *ah)
&fops_samps);
&fops_samps);
+ #endif
+#ifdef CONFIG_MAC80211_LEDS
+ debugfs_create_file("gpio_led", S_IWUSR,
+#ifdef CONFIG_MAC80211_LEDS
+ debugfs_create_file("gpio_led", S_IWUSR,
This page took
0.026673 seconds
and
4
git commands to generate.