From: Christian Lamparter Date: Sat, 16 Nov 2019 21:37:51 +0000 (+0100) Subject: ramips: assign correct key-code to wps buttons X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cafb0f28da2c422c92b2288f4e797de817082b9e;p=openwrt%2Fstaging%2Fchunkeey.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. Signed-off-by: Christian Lamparter [dropped RG21S] (cherry picked from commit ad65d9d7b264d6d17293c59469e770905d2f785a) --- 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 = ; }; }; };