ZyXEL NBG6716 "rfkill" is a switch, not a button.
Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
---
Index: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
===================================================================
--- trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
(revision 44437)
+++ trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
(working copy)
@@ -115,11 +115,11 @@
},
{
.desc = "RFKILL button",
- .type = EV_KEY,
+ .type = EV_SW,
.code = KEY_RFKILL,
.debounce_interval = NBG6716_KEYS_DEBOUNCE_INTERVAL,
.gpio = NBG6716_GPIO_BTN_RFKILL,
- .active_low = 1,
+ .active_low = 0,
},
{
.desc = "USB1 eject button",
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel