From f65330d27d077ff8dfe59f4e68f2b192ec62d8db Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sat, 16 Nov 2019 22:37:51 +0100 Subject: ramips: assign correct key-code to wps buttons The two ASUS WL-330N and WL-330N3G had the reset keycode assigned to the WPS button. This patch changes both devices to use KEY_WPS_BUTTON in the hopes that this fixes unwanted restarts/ unexpected behavior from the users point of view. [dropped RG21S] Signed-off-by: Christian Lamparter (cherry picked from commit ad65d9d7b264d6d17293c59469e770905d2f785a) --- target/linux/ramips/dts/WL-330N.dts | 2 +- target/linux/ramips/dts/WL-330N3G.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/WL-330N.dts b/target/linux/ramips/dts/WL-330N.dts index 0eb7b7ff78..1f0a5b0e37 100644 --- a/target/linux/ramips/dts/WL-330N.dts +++ b/target/linux/ramips/dts/WL-330N.dts @@ -38,7 +38,7 @@ wps { label = "wps"; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; - linux,code = ; + linux,code = ; }; }; }; diff --git a/target/linux/ramips/dts/WL-330N3G.dts b/target/linux/ramips/dts/WL-330N3G.dts index 3801a9d9ef..8f6b88e67e 100644 --- a/target/linux/ramips/dts/WL-330N3G.dts +++ b/target/linux/ramips/dts/WL-330N3G.dts @@ -43,7 +43,7 @@ wps { label = "wps"; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; - linux,code = ; + linux,code = ; }; }; }; -- cgit v1.2.3