From bcfbeae79f799cf1087d692e4869589eb20d2080 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 26 Sep 2016 20:56:13 +0200 Subject: ramips: use rfkill for wps button on wlan only boards All of the touched boards don't have an ethernet port. Allow to use the wps button on these boards to enable the wireless radio after boot. The force enabled wireless for the DCH-M225 is removed. It is reckless to bring up an unencrypted wireless network by default these days. Using the wps button to bring up the radio seam to me the better approach. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/MZK-EX750NP.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/MZK-EX750NP.dts') diff --git a/target/linux/ramips/dts/MZK-EX750NP.dts b/target/linux/ramips/dts/MZK-EX750NP.dts index 565b4356f0..74f72f04ca 100644 --- a/target/linux/ramips/dts/MZK-EX750NP.dts +++ b/target/linux/ramips/dts/MZK-EX750NP.dts @@ -60,7 +60,7 @@ wps { label = "wps"; gpios = <&gpio0 13 0>; - linux,code = <0x211>; + linux,code = <0xf7>; }; }; }; -- cgit v1.2.3