[source] ath10k: fix #if vs #ifdef in led trigger patch

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 9 10:42:35 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=73dd59546be473455f4dbeaac277feabaa80f800

commit 73dd59546be473455f4dbeaac277feabaa80f800
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Jul 8 18:51:37 2016 +0200

    ath10k: fix #if vs #ifdef in led trigger patch
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch b/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
index 83ca029..a501b99 100644
--- a/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
+++ b/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
@@ -26,7 +26,7 @@
  	ar->hw->wiphy->cipher_suites = cipher_suites;
  	ar->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);
  
-+#if CPTCFG_MAC80211_LEDS
++#ifdef CPTCFG_MAC80211_LEDS
 +	ieee80211_create_tpt_led_trigger(ar->hw,
 +		IEEE80211_TPT_LEDTRIG_FL_RADIO, ath10k_tpt_blink,
 +		ARRAY_SIZE(ath10k_tpt_blink));



More information about the lede-commits mailing list