aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-15 19:25:48 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-15 19:25:48 +0000
commit596033a52ea28be63155d4e8db5942fdc29449dd (patch)
tree4d881f409d8e5f3b37b3729191de927cd067a163 /target/linux/ar71xx/files
parent6183e0a4ecdab5a5bb1233c785c28c73ce7db926 (diff)
downloadupstream-596033a52ea28be63155d4e8db5942fdc29449dd.tar.gz
upstream-596033a52ea28be63155d4e8db5942fdc29449dd.tar.bz2
upstream-596033a52ea28be63155d4e8db5942fdc29449dd.zip
Fix (invert/revert) Hornet-UB WPS LED state
My previous patch regarding the Hornet-UB board (commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually causes the WPS led state to be inverted. Practically this meant that value 0 in /sys/class/led/alfa:blue:wps/brightness would turn the LED on and any positive value (1-255) would turn it off. The above of course is confusing and hence reverting this value back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718. Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44791 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c
index 93bb8f06c8..1d21424585 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c
@@ -65,7 +65,7 @@ static struct gpio_led hornet_ub_leds_gpio[] __initdata = {
{
.name = "alfa:blue:wps",
.gpio = HORNET_UB_GPIO_LED_WPS,
- .active_low = 0,
+ .active_low = 1,
},
};