From 960de44fa980d3be0880ebd18cac872aac624a3e Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sat, 16 Nov 2019 22:37:51 +0100 Subject: [PATCH] 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 all three 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 ee0cd0ad1f..48a6e3a4cf 100644 --- a/target/linux/ramips/dts/WL-330N.dts +++ b/target/linux/ramips/dts/WL-330N.dts @@ -43,7 +43,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 235c90fc4d..8453147b6b 100644 --- a/target/linux/ramips/dts/WL-330N3G.dts +++ b/target/linux/ramips/dts/WL-330N3G.dts @@ -48,7 +48,7 @@ wps { label = "wps"; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; - linux,code = ; + linux,code = ; }; }; }; -- 2.25.1