diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-01 15:22:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-01 15:22:08 +0000 |
commit | b12229935da422d82f054c5764bad2ed8aca0aba (patch) | |
tree | 2f8f76017eec1a9a12a7020a7dcb117c2640aca7 /package/mac80211/patches | |
parent | c6849205256db534119a9ffc2dc01203f6830c24 (diff) | |
download | mtk-20170518-b12229935da422d82f054c5764bad2ed8aca0aba.zip mtk-20170518-b12229935da422d82f054c5764bad2ed8aca0aba.tar.gz mtk-20170518-b12229935da422d82f054c5764bad2ed8aca0aba.tar.bz2 |
ath9k: fix misplaced ifdef
SVN-Revision: 30766
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r-- | package/mac80211/patches/560-ath9k_extra_leds.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/mac80211/patches/560-ath9k_extra_leds.patch b/package/mac80211/patches/560-ath9k_extra_leds.patch index 0557ec3..dafa2ea 100644 --- 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 -@@ -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 + @@ -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 |