diff options
author | John Crispin <john@openwrt.org> | 2015-03-15 19:39:47 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-15 19:39:47 +0000 |
commit | 7ea781558f222696ea9de75722fed0e80b218e40 (patch) | |
tree | 559d0a1e8c5487952054dbc03a38b9859d052615 /target | |
parent | 7f3013a480a7ccbf8accf4996a79e852c2dec9e8 (diff) | |
download | upstream-7ea781558f222696ea9de75722fed0e80b218e40.tar.gz upstream-7ea781558f222696ea9de75722fed0e80b218e40.tar.bz2 upstream-7ea781558f222696ea9de75722fed0e80b218e40.zip |
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 <mschiffer@universe-factory.net>
SVN-Revision: 44795
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c index 99ae80df9b..3afc714620 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c @@ -103,6 +103,7 @@ static struct gpio_keys_button wdr4300_gpio_keys[] __initdata = { .code = KEY_RFKILL, .debounce_interval = WDR4300_KEYS_DEBOUNCE_INTERVAL, .gpio = WDR4300_GPIO_BTN_RFKILL, + .active_low = 1, }, }; |