mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 08:25:29 +00:00
ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Based on the the WNDR3700v4 support patch from Ralph Perlich: http://patchwork.openwrt.org/patch/4763/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40477
This commit is contained in:
parent
b971a4b5b9
commit
ed72141fd4
@ -116,7 +116,7 @@ static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
|
|||||||
{
|
{
|
||||||
.desc = "Wireless button",
|
.desc = "Wireless button",
|
||||||
.type = EV_KEY,
|
.type = EV_KEY,
|
||||||
.code = BTN_0,
|
.code = KEY_RFKILL,
|
||||||
.debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,
|
.debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,
|
||||||
.gpio = WNDR4300_GPIO_BTN_WIRELESS,
|
.gpio = WNDR4300_GPIO_BTN_WIRELESS,
|
||||||
.active_low = 1,
|
.active_low = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user