mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: fix tl-wa901nd buttons code
This patch fixes the code of the buttons for TP-Link WA901ND. Signed-off-by: Rocco Folino <lordzen@autistici.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37696 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -61,14 +61,14 @@ static struct gpio_keys_button tl_wa901nd_gpio_keys[] __initdata = {
|
||||
{
|
||||
.desc = "reset",
|
||||
.type = EV_KEY,
|
||||
.code = BTN_0,
|
||||
.code = KEY_RESTART,
|
||||
.debounce_interval = TL_WA901ND_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = TL_WA901ND_GPIO_BTN_RESET,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.desc = "qss",
|
||||
.type = EV_KEY,
|
||||
.code = BTN_1,
|
||||
.code = KEY_WPS_BUTTON,
|
||||
.debounce_interval = TL_WA901ND_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = TL_WA901ND_GPIO_BTN_QSS,
|
||||
.active_low = 1,
|
||||
|
||||
Reference in New Issue
Block a user