summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-08 18:51:37 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-09 19:42:22 +0200
commit73dd59546be473455f4dbeaac277feabaa80f800 (patch)
tree53db61d6725a22b30154da5d2039759fdc4ddf80 /package/kernel/mac80211
parent78ae53ff2ff9ecbaadcf96f03ae8579ff773515e (diff)
downloadmtk-20170518-73dd59546be473455f4dbeaac277feabaa80f800.zip
mtk-20170518-73dd59546be473455f4dbeaac277feabaa80f800.tar.gz
mtk-20170518-73dd59546be473455f4dbeaac277feabaa80f800.tar.bz2
ath10k: fix #if vs #ifdef in led trigger patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch2
1 files changed, 1 insertions, 1 deletions
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));