Message ID | alpine.DEB.2.10.1502130954100.9480@phenom |
---|---|
State | Accepted |
Headers | show |
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",
ZyXEL NBG6716 "rfkill" is a switch, not a button. Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> ---