ar71xx: make WLAN button RFKILL on wnr2000-v4
Users will now be provided with the inherent wifi toggle functionality of /etc/rc.button/rfkill Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> SVN-Revision: 45635
This commit is contained in:
parent
b1380ebae3
commit
5e1e04e505
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ static struct gpio_keys_button wnr2000v4_gpio_keys[] __initdata = {
|
||||||
{
|
{
|
||||||
.desc = "WLAN button",
|
.desc = "WLAN button",
|
||||||
.type = EV_KEY,
|
.type = EV_KEY,
|
||||||
.code = KEY_WLAN,
|
.code = KEY_RFKILL,
|
||||||
.debounce_interval = WNR2000V4_KEYS_DEBOUNCE_INTERVAL,
|
.debounce_interval = WNR2000V4_KEYS_DEBOUNCE_INTERVAL,
|
||||||
.gpio = WNR2000V4_GPIO_BTN_WLAN,
|
.gpio = WNR2000V4_GPIO_BTN_WLAN,
|
||||||
.active_low = 1,
|
.active_low = 1,
|
||||||
|
|
Loading…
Reference in a new issue