diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-05-08 12:23:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-08 12:23:58 +0000 |
commit | 5e1e04e505f463362827fdf5fd7eb47d57905865 (patch) | |
tree | c2ce0f4f598c275affa08bbe3b9d3bc31d9466e9 /target/linux/ar71xx/files | |
parent | b1380ebae3589525a25fe24129bda77ed3cffe1c (diff) | |
download | openwrt-5e1e04e505f463362827fdf5fd7eb47d57905865.tar.gz openwrt-5e1e04e505f463362827fdf5fd7eb47d57905865.tar.bz2 openwrt-5e1e04e505f463362827fdf5fd7eb47d57905865.zip |
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
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c index cc478e6152..9c10b95128 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c @@ -115,7 +115,7 @@ static struct gpio_keys_button wnr2000v4_gpio_keys[] __initdata = { { .desc = "WLAN button", .type = EV_KEY, - .code = KEY_WLAN, + .code = KEY_RFKILL, .debounce_interval = WNR2000V4_KEYS_DEBOUNCE_INTERVAL, .gpio = WNR2000V4_GPIO_BTN_WLAN, .active_low = 1, |