ar71xx: make WLAN button RFKILL on wnr2000-v4
[openwrt/staging/lynxis/omap.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-wnr2000-v4.c
index cc478e61524c17d45714fb0548f724e65e3c8a19..9c10b9512833524d428814efa915af1736eb4c45 100644 (file)
@@ -115,7 +115,7 @@ static struct gpio_keys_button wnr2000v4_gpio_keys[] __initdata = {
        {
                .desc           = "WLAN button",
                .type           = EV_KEY,
-               .code           = KEY_WLAN,
+               .code           = KEY_RFKILL,
                .debounce_interval = WNR2000V4_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = WNR2000V4_GPIO_BTN_WLAN,
                .active_low     = 1,