aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-26 18:53:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-26 18:53:44 +0000
commit368d37f9ade35b4e8f4f0ad6f18f1b13e3fa9a33 (patch)
treec6e2094b85d15466776e0009ad51f70aedadbbc2
parent1f1714d628921e9c124a50f3fc155ba3032daa63 (diff)
downloadupstream-368d37f9ade35b4e8f4f0ad6f18f1b13e3fa9a33.tar.gz
upstream-368d37f9ade35b4e8f4f0ad6f18f1b13e3fa9a33.tar.bz2
upstream-368d37f9ade35b4e8f4f0ad6f18f1b13e3fa9a33.zip
ramips: use correct key code for the RFKILL switch on the TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33943 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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,