aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-17 09:27:18 +0000
committerJohn Crispin <john@openwrt.org>2015-12-17 09:27:18 +0000
commit4a4b0b82ec4d5aae5306988819c31afda9e8ca96 (patch)
tree700d00928628c7653182c99a892aaddba8365be8 /package/kernel/mac80211/patches/530-ath9k_extra_leds.patch
parent7de7bd02018bc038cfb153fc34eb2a64cbe08c39 (diff)
downloadupstream-4a4b0b82ec4d5aae5306988819c31afda9e8ca96.tar.gz
upstream-4a4b0b82ec4d5aae5306988819c31afda9e8ca96.tar.bz2
upstream-4a4b0b82ec4d5aae5306988819c31afda9e8ca96.zip
ath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 47909
Diffstat (limited to 'package/kernel/mac80211/patches/530-ath9k_extra_leds.patch')
-rw-r--r--package/kernel/mac80211/patches/530-ath9k_extra_leds.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch b/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch
index 89e3c97624..76aaad441a 100644
--- a/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch
+++ b/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch
@@ -159,7 +159,7 @@
+ trigger = ieee80211_get_radio_led_name(sc->hw);
- sc->led_registered = true;
-+ ath_create_gpio_led(sc, sc->sc_ah->led_pin, led_name, trigger, 1);
++ ath_create_gpio_led(sc, sc->sc_ah->led_pin, led_name, trigger, !sc->sc_ah->config.led_active_high);
}
void ath_fill_led_pin(struct ath_softc *sc)