summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-04-12 17:53:34 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-04-12 17:53:34 +0000
commite77d412b7ed55059d2a1b259fdca9c2c9c323469 (patch)
tree293671d76f79c71e94d125e74c1cdcb4662ded93 /target
parent51ddd6d8415804cb76e16b217c8c00d99d4c3bb7 (diff)
ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Based on the the WNDR3700v4 support patch from Ralph Perlich: http://patchwork.openwrt.org/patch/4763/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40477 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
index 6f26429ed7..f546b7171e 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
@@ -116,7 +116,7 @@ static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
{
.desc = "Wireless button",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RFKILL,
.debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,
.gpio = WNDR4300_GPIO_BTN_WIRELESS,
.active_low = 1,