aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-03-01 18:36:17 +0100
committerDavid Bauer <mail@david-bauer.net>2020-03-01 18:40:31 +0100
commit1d4f2ca6105698fde3b997c32e7e41f080c79a15 (patch)
tree54067dbac18bcf423694e73f344807b5773a2037 /target
parent854114800ce7636f4d7628774023e399154b04bc (diff)
downloadupstream-1d4f2ca6105698fde3b997c32e7e41f080c79a15.tar.gz
upstream-1d4f2ca6105698fde3b997c32e7e41f080c79a15.tar.bz2
upstream-1d4f2ca6105698fde3b997c32e7e41f080c79a15.zip
ar71xx: correct AVM FRITZ Repeater 450E WPS button flag
The AVM FRITZ!WLAN Repeater 450E's WPS button is not active low. Correct the active low flag to avoid unintenional activation of failsafe mode on boot. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c
index 83127e4c64..5bded81a4d 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c
@@ -115,7 +115,7 @@ static struct gpio_keys_button fritz450E_gpio_keys[] __initdata = {
.code = KEY_WPS_BUTTON,
.debounce_interval = FRITZ450E_KEYS_DEBOUNCE_INTERVAL,
.gpio = FRITZ450E_GPIO_BTN_WPS,
- .active_low = 1,
+ .active_low = 0,
}
};