Author: blogic Date: 2015-03-15 20:39:47 +0100 (Sun, 15 Mar 2015) New Revision: 44795
Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c Log: ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions While the switch positions aren't explicitly labeled as on and off, we've heard complaints about them being wrong. This patch changes the handling to match the stock firmware. Signed-off-by: Matthias Schiffer <[email protected]> Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c =================================================================== --- trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c 2015-03-15 19:39:41 UTC (rev 44794) +++ trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c 2015-03-15 19:39:47 UTC (rev 44795) @@ -103,6 +103,7 @@ .code = KEY_RFKILL, .debounce_interval = WDR4300_KEYS_DEBOUNCE_INTERVAL, .gpio = WDR4300_GPIO_BTN_RFKILL, + .active_low = 1, }, }; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
