ramips: use correct key code for the RFKILL switch on the TEW-691GR

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33943
owl
Gabor Juhos 2012-10-26 18:53:44 +00:00
parent c691d165c7
commit db5eea6acd
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ static struct gpio_keys_button tew_691gr_gpio_buttons[] __initdata = {
{ {
.desc = "RFKILL switch", .desc = "RFKILL switch",
.type = EV_SW, .type = EV_SW,
.code = KEY_WPS_BUTTON, .code = KEY_RFKILL,
.debounce_interval = TEW_691GR_KEYS_DEBOUNCE_INTERVAL, .debounce_interval = TEW_691GR_KEYS_DEBOUNCE_INTERVAL,
.gpio = TEW_691GR_GPIO_SWITCH_RFKILL, .gpio = TEW_691GR_GPIO_SWITCH_RFKILL,
.active_low = 1, .active_low = 1,