diff options
author | Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> | 2018-02-22 23:11:08 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-24 17:24:30 +0200 |
commit | 1780f09ee377fb3c75969cd5ebfffc169423364d (patch) | |
tree | 6358d93f0209d9edd2bf7f8e95fba520e13f042e /target/linux/ar71xx/files/arch/mips/ath79/mach-rut9xx.c | |
parent | fff02093e602f7c49161746305a4b13c1a2bb441 (diff) | |
download | upstream-1780f09ee377fb3c75969cd5ebfffc169423364d.tar.gz upstream-1780f09ee377fb3c75969cd5ebfffc169423364d.tar.bz2 upstream-1780f09ee377fb3c75969cd5ebfffc169423364d.zip |
ar71xx: WNDR3700: enable RFKILL function for Wifi button
Wifi button for WNDR3700 dual band routers has been renamed to "rfkill"
and its emitted keycode changed to KEY_RFKILL. This allows OpenWrt/LEDE
to support it 'out of the box' without additional tweaking.
Until this patch, button had been sending BTN_2 keycode which was
ignored by default (no action script present). To get expected behaviour
of switching radios on and off, user had to manually rename/link
'rfkill' script to name 'BTN_2' in /etc/rc.button directory.
This patch follows similar changes for other Netgear ar71xx routers,
for example WNR2000v3. It applies cleanly to both latest trunk and 17.01
branch. Tested on WNDR3700v1.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
(cherry picked from commit 45dc530334d8694a962d0833432effd14fa5cc4a)
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-rut9xx.c')
0 files changed, 0 insertions, 0 deletions