ramips: use correct key code for the RFKILL switch on the TEW-691GR
authorGabor Juhos <juhosg@openwrt.org>
Fri, 26 Oct 2012 18:53:44 +0000 (18:53 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 26 Oct 2012 18:53:44 +0000 (18:53 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33943

target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c

index ea28d277277e3afefd240f744236a15e9ff1b209..7b553ab6b21c73466702683319456428f9f085b1 100644 (file)
@@ -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,