diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-04-12 17:53:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-04-12 17:53:34 +0000 |
commit | ed72141fd46a8d085da9eef4a6bc669f25d619e4 (patch) | |
tree | f3da3274634f59cba7880804d4aeba5d203a97ed | |
parent | b971a4b5b9ac95e220d1ccc13c30e06c6f84fdbf (diff) | |
download | upstream-ed72141fd46a8d085da9eef4a6bc669f25d619e4.tar.gz upstream-ed72141fd46a8d085da9eef4a6bc669f25d619e4.tar.bz2 upstream-ed72141fd46a8d085da9eef4a6bc669f25d619e4.zip |
ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Based on the the WNDR3700v4 support patch from Ralph Perlich:
http://patchwork.openwrt.org/patch/4763/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40477
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c index 6f26429ed7..f546b7171e 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c @@ -116,7 +116,7 @@ static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = { { .desc = "Wireless button", .type = EV_KEY, - .code = BTN_0, + .code = KEY_RFKILL, .debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL, .gpio = WNDR4300_GPIO_BTN_WIRELESS, .active_low = 1, |