aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-26 19:08:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-26 19:08:25 +0000
commit67b23d53a9ad13b06ab2c69a883e01ff004210d9 (patch)
tree88c52c5853d95993b94358f96ffa54a49dfee284 /target/linux/ramips
parentd110a740241907d8237629de857a78f7d9c301af (diff)
downloadupstream-67b23d53a9ad13b06ab2c69a883e01ff004210d9.tar.gz
upstream-67b23d53a9ad13b06ab2c69a883e01ff004210d9.tar.bz2
upstream-67b23d53a9ad13b06ab2c69a883e01ff004210d9.zip
AA: ramips: use correct key code for the RFKILL switch on the TEW-691GR
Backport of r33943. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c b/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c
index ea28d27727..7b553ab6b2 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c
@@ -63,7 +63,7 @@ static struct gpio_keys_button tew_691gr_gpio_buttons[] __initdata = {
{
.desc = "RFKILL switch",
.type = EV_SW,
- .code = KEY_WPS_BUTTON,
+ .code = KEY_RFKILL,
.debounce_interval = TEW_691GR_KEYS_DEBOUNCE_INTERVAL,
.gpio = TEW_691GR_GPIO_SWITCH_RFKILL,
.active_low = 1,