From: Christian Lamparter Date: Sat, 16 Nov 2019 21:37:51 +0000 (+0100) Subject: ramips: assign correct key-code to wps buttons X-Git-Tag: v19.07.0-rc2~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=960de44fa980d3be0880ebd18cac872aac624a3e;p=oweals%2Fopenwrt.git 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) --- 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 = ; }; }; };