aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDustin Gathmann <dzsoftware@posteo.org>2020-05-21 00:13:43 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-20 00:58:30 +0200
commita53bf63756ef2a266ae5f3b3507eeb7382b4cdc9 (patch)
tree138bd705b301289b50c1070965583a0a7ee9d540 /target/linux
parent211548c5233e8ac4bc42660d62da7803c0a15f1b (diff)
downloadupstream-a53bf63756ef2a266ae5f3b3507eeb7382b4cdc9.tar.gz
upstream-a53bf63756ef2a266ae5f3b3507eeb7382b4cdc9.tar.bz2
upstream-a53bf63756ef2a266ae5f3b3507eeb7382b4cdc9.zip
lantiq/xrx200: make WLAN button responsive on Fritzbox 3370
Pressing the 'WLAN' button should enable/disable wireless activity. However, on the Fritzbox 3370 this doesn't have an effect. This patch changes the mapping of the physical WLAN button, so a button press will emit an action for the 'rfkill' key instead of 'wlan'. Apparently, this is what stock OpenWRT expects, and also what is implemented for most other devices. Signed-off-by: Dustin Gathmann <dzsoftware@posteo.org>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi2
-rw-r--r--target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi
index bac27c3649..4c4ae1a01f 100644
--- a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi
+++ b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi
@@ -45,7 +45,7 @@
wifi {
label = "wlan";
gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
- linux,code = <KEY_WLAN>;
+ linux,code = <KEY_RFKILL>;
};
};
diff --git a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi
index bac27c3649..4c4ae1a01f 100644
--- a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi
+++ b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2.dtsi
@@ -45,7 +45,7 @@
wifi {
label = "wlan";
gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
- linux,code = <KEY_WLAN>;
+ linux,code = <KEY_RFKILL>;
};
};