diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-10-26 18:53:44 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-10-26 18:53:44 +0000 |
commit | db5eea6acdca2fa0d19dd9cbae61dd7fa6a975b7 (patch) | |
tree | 89d58a73f45d88e544b760e774cacfbf8582d082 /target | |
parent | c691d165c77e1e4445aacb40466d131aaa79e8d5 (diff) | |
download | mtk-20170518-db5eea6acdca2fa0d19dd9cbae61dd7fa6a975b7.zip mtk-20170518-db5eea6acdca2fa0d19dd9cbae61dd7fa6a975b7.tar.gz mtk-20170518-db5eea6acdca2fa0d19dd9cbae61dd7fa6a975b7.tar.bz2 |
ramips: use correct key code for the RFKILL switch on the TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33943
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c | 2 |
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 ea28d27..7b553ab 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, |