From: Gabor Juhos Date: Fri, 26 Oct 2012 18:53:44 +0000 (+0000) Subject: ramips: use correct key code for the RFKILL switch on the TEW-691GR X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=db5eea6acdca2fa0d19dd9cbae61dd7fa6a975b7;p=openwrt%2Fstaging%2Fstintel.git ramips: use correct key code for the RFKILL switch on the TEW-691GR Signed-off-by: Gabor Juhos SVN-Revision: 33943 --- 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,