Author: blogic Date: 2015-03-15 20:25:48 +0100 (Sun, 15 Mar 2015) New Revision: 44791
Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c Log: 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 <[email protected]> Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c =================================================================== --- trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c 2015-03-15 17:51:16 UTC (rev 44790) +++ trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c 2015-03-15 19:25:48 UTC (rev 44791) @@ -65,7 +65,7 @@ { .name = "alfa:blue:wps", .gpio = HORNET_UB_GPIO_LED_WPS, - .active_low = 0, + .active_low = 1, }, }; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
