ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions
While the switch positions aren't explicitly labeled as on and off, we've heard complaints about them being wrong. This patch changes the handling to match the stock firmware. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44795
This commit is contained in:
parent
7f3013a480
commit
7ea781558f
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ static struct gpio_keys_button wdr4300_gpio_keys[] __initdata = {
|
||||||
.code = KEY_RFKILL,
|
.code = KEY_RFKILL,
|
||||||
.debounce_interval = WDR4300_KEYS_DEBOUNCE_INTERVAL,
|
.debounce_interval = WDR4300_KEYS_DEBOUNCE_INTERVAL,
|
||||||
.gpio = WDR4300_GPIO_BTN_RFKILL,
|
.gpio = WDR4300_GPIO_BTN_RFKILL,
|
||||||
|
.active_low = 1,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue