X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Farch%2Fmips%2Fath79%2Fmach-wndr3700.c;h=b9132fc363d71027c47e1728215cc0bb571ef560;hp=1315bab03739ac99185763383b97fdebeadf71b7;hb=1780f09ee377fb3c75969cd5ebfffc169423364d;hpb=e33ccdc2958f0929196e144543fd17d50a72728a diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c index 1315bab037..b9132fc363 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c @@ -33,7 +33,7 @@ #define WNDR3700_GPIO_BTN_WPS 3 #define WNDR3700_GPIO_BTN_RESET 8 -#define WNDR3700_GPIO_BTN_WIFI 11 +#define WNDR3700_GPIO_BTN_RFKILL 11 #define WNDR3700_GPIO_RTL8366_SDA 5 #define WNDR3700_GPIO_RTL8366_SCK 7 @@ -89,11 +89,11 @@ static struct gpio_keys_button wndr3700_gpio_keys[] __initdata = { .gpio = WNDR3700_GPIO_BTN_WPS, .active_low = 1, }, { - .desc = "wifi", + .desc = "rfkill", .type = EV_KEY, - .code = BTN_2, + .code = KEY_RFKILL, .debounce_interval = WNDR3700_KEYS_DEBOUNCE_INTERVAL, - .gpio = WNDR3700_GPIO_BTN_WIFI, + .gpio = WNDR3700_GPIO_BTN_RFKILL, .active_low = 1, } };