Author: nbd Date: 2015-05-08 14:23:58 +0200 (Fri, 08 May 2015) New Revision: 45635
Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c Log: ar71xx: make WLAN button RFKILL on wnr2000-v4 Users will now be provided with the inherent wifi toggle functionality of /etc/rc.button/rfkill Signed-off-by: Michael J. Bazzinotti <[email protected]> Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c =================================================================== --- trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c 2015-05-08 12:23:53 UTC (rev 45634) +++ trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c 2015-05-08 12:23:58 UTC (rev 45635) @@ -115,7 +115,7 @@ { .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, _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
