From a5757e93e4841eb14ebd9418145d096c688f8448 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 26 Oct 2012 19:08:25 +0000 Subject: AA: ramips: use correct key code for the RFKILL switch on the TEW-691GR Backport of r33943. Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33947 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips') 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 ea28d2772..7b553ab6b 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, -- cgit v1.2.3