mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-08 12:00:49 +00:00
ar71xx: fix ZyXEL NBG6616 wifi switch
The device uses a rf-kill switch instead of a button. Furthermore the GPIO is active high. Signed-off-by: Christoph Krapp <achterin@googlemail.com> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
096a860b9b
commit
4b8dc6dd11
@ -203,11 +203,11 @@ static struct gpio_keys_button nbg6616_gpio_keys[] __initdata = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
.desc = "RFKILL button",
|
.desc = "RFKILL button",
|
||||||
.type = EV_KEY,
|
.type = EV_SW,
|
||||||
.code = KEY_RFKILL,
|
.code = KEY_RFKILL,
|
||||||
.debounce_interval = NBG6716_KEYS_DEBOUNCE_INTERVAL,
|
.debounce_interval = NBG6716_KEYS_DEBOUNCE_INTERVAL,
|
||||||
.gpio = NBG6716_GPIO_BTN_RFKILL,
|
.gpio = NBG6716_GPIO_BTN_RFKILL,
|
||||||
.active_low = 1,
|
.active_low = 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.desc = "WPS button",
|
.desc = "WPS button",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user