aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-08 12:23:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-08 12:23:58 +0000
commit50ad81bbcb0e0095517b616644faff1f1a0b186f (patch)
treee26582f4a05e6fc2f7dc9cd9981342f0c3a36dba /target/linux
parent53afee62b7b682169c3aa1fd63ea73d611a493a6 (diff)
downloadupstream-50ad81bbcb0e0095517b616644faff1f1a0b186f.tar.gz
upstream-50ad81bbcb0e0095517b616644faff1f1a0b186f.tar.bz2
upstream-50ad81bbcb0e0095517b616644faff1f1a0b186f.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45635 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c2
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,