aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDustin Gathmann <dzsoftware@posteo.org>2020-07-20 00:07:44 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-20 00:58:30 +0200
commitd5a148f5c8f6d6dee7041fd348bd0f52839d0f4e (patch)
tree351b63ca78dbe49688754fffe93f3dc064f8faa0
parent0ee30adb46a87583badd85b69e4ccd7942786374 (diff)
downloadupstream-d5a148f5c8f6d6dee7041fd348bd0f52839d0f4e.tar.gz
upstream-d5a148f5c8f6d6dee7041fd348bd0f52839d0f4e.tar.bz2
upstream-d5a148f5c8f6d6dee7041fd348bd0f52839d0f4e.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>
-rw-r--r--target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi2
-rw-r--r--target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
index 1553d2f7f4..f12485b3e1 100644
--- a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
+++ b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
@@ -40,7 +40,7 @@
wifi {
label = "wifi";
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_fritz736x.dtsi b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
index 70dff97ec1..bd89e59511 100644
--- a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
+++ b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
@@ -40,7 +40,7 @@
wifi {
label = "wifi";
gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
- linux,code = <KEY_WLAN>;
+ linux,code = <KEY_RFKILL>;
};
};