aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDustin Gathmann <dzsoftware@posteo.org>2020-07-20 00:07:44 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-23 17:39:42 +0200
commita785aed70ea6f60d543faa6e44193981fbe9cbe5 (patch)
tree578524212cce78b7005ff0c4e4e553bca3b64bb5 /target/linux
parent4a9d6320afec39859be0eb7aaa7f06565b0ce750 (diff)
downloadupstream-a785aed70ea6f60d543faa6e44193981fbe9cbe5.tar.gz
upstream-a785aed70ea6f60d543faa6e44193981fbe9cbe5.tar.bz2
upstream-a785aed70ea6f60d543faa6e44193981fbe9cbe5.zip
lantiq/xrx200: make WLAN button responsive on Fritzbox 7360 & 7362
Pressing the 'WLAN' button should enable/disable wireless activity. Currently, the button is mapped to the KEY_WLAN, which will not have this effect. This patch changes the mapping of the WLAN button, so a button press will emit an action for the 'rfkill' key instead of 'wlan'. Apparently, this is what stock OpenWRT expects. This fix is analogous to the preceding patch for Fritzbox 3370. Signed-off-by: Dustin Gathmann <dzsoftware@posteo.org> (cherry picked from commit d5a148f5c8f6d6dee7041fd348bd0f52839d0f4e)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi
index 8ed23deb44..6e8103916f 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi
@@ -40,7 +40,7 @@
wifi {
label = "wifi";
gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
- linux,code = <KEY_WLAN>;
+ linux,code = <KEY_RFKILL>;
};
};