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.lede-project.org./?a=commitdiff_plain;h=ad65d9d7b264d6d17293c59469e770905d2f785a;p=openwrt%2Fstaging%2Frmilecki.git ramips: assign correct key-code to wps buttons The ASUS WL-330N(3G) and the Edimax RG21S 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 --- diff --git a/target/linux/ramips/dts/mt7621_edimax_rg21s.dts b/target/linux/ramips/dts/mt7621_edimax_rg21s.dts index b6bb448fd82..6ed08413c14 100644 --- a/target/linux/ramips/dts/mt7621_edimax_rg21s.dts +++ b/target/linux/ramips/dts/mt7621_edimax_rg21s.dts @@ -39,7 +39,7 @@ wps { label = "wps"; gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; - linux,code = ; + linux,code = ; }; }; diff --git a/target/linux/ramips/dts/rt3050_asus_wl-330n.dts b/target/linux/ramips/dts/rt3050_asus_wl-330n.dts index ee0cd0ad1fb..48a6e3a4cff 100644 --- a/target/linux/ramips/dts/rt3050_asus_wl-330n.dts +++ b/target/linux/ramips/dts/rt3050_asus_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/rt3050_asus_wl-330n3g.dts b/target/linux/ramips/dts/rt3050_asus_wl-330n3g.dts index 235c90fc4d6..8453147b6b7 100644 --- a/target/linux/ramips/dts/rt3050_asus_wl-330n3g.dts +++ b/target/linux/ramips/dts/rt3050_asus_wl-330n3g.dts @@ -48,7 +48,7 @@ wps { label = "wps"; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; - linux,code = ; + linux,code = ; }; }; };