mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
ath9k: fix misplaced ifdef
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30766 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4497c273ba
commit
1e3377e48e
@ -182,9 +182,9 @@
|
|||||||
#endif
|
#endif
|
||||||
--- a/drivers/net/wireless/ath/ath9k/debug.c
|
--- a/drivers/net/wireless/ath/ath9k/debug.c
|
||||||
+++ b/drivers/net/wireless/ath/ath9k/debug.c
|
+++ b/drivers/net/wireless/ath/ath9k/debug.c
|
||||||
@@ -1254,6 +1254,61 @@ static const struct file_operations fops
|
@@ -1252,6 +1252,61 @@ static const struct file_operations fops
|
||||||
|
.llseek = default_llseek,
|
||||||
#ifdef CONFIG_ATH9K_MAC_DEBUG
|
};
|
||||||
|
|
||||||
+#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)
|
@@ -1681,6 +1736,11 @@ int ath9k_init_debug(struct ath_hw *ah)
|
||||||
&fops_samps);
|
&fops_samps);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user