Skip to content

Commit

Permalink
ath9k: fix misplaced ifdef
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30766 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
nbd committed Mar 1, 2012
1 parent 4497c27 commit 1e3377e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package/mac80211/patches/560-ath9k_extra_leds.patch
Expand Up @@ -182,9 +182,9 @@
#endif
--- a/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

#ifdef CONFIG_ATH9K_MAC_DEBUG
@@ -1252,6 +1252,61 @@ static const struct file_operations fops
.llseek = default_llseek,
};

+#ifdef CONFIG_MAC80211_LEDS
+
Expand Down Expand Up @@ -241,9 +241,9 @@
+
+#endif
+
#ifdef CONFIG_ATH9K_MAC_DEBUG

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
Expand Down

0 comments on commit 1e3377e

Please sign in to comment.