lantiq/xrx200: make WLAN button responsive on Fritzbox 3370
authorDustin Gathmann <dzsoftware@posteo.org>
Wed, 20 May 2020 22:13:43 +0000 (00:13 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 23 Jul 2020 15:39:29 +0000 (17:39 +0200)
commit284cd7d18e4305f20304289144a887b984eb34a4
tree19ca5f1d053d1ccbb6d6bf03d3d9c2c7c9382399
parent2ca5a386eeefb11de15a9b359ae2769f775d58c9
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>
(cherry picked from commit a53bf63756ef2a266ae5f3b3507eeb7382b4cdc9)
target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi