From: Christian Lamparter Date: Sat, 16 Nov 2019 21:42:07 +0000 (+0100) Subject: ath79: remap D-Link DIR-859 A1 WPS button to WPS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a7610c21bb0979f2ae14f3c31012ac9e148b439;p=openwrt%2Fstaging%2Fadrian.git ath79: remap D-Link DIR-859 A1 WPS button to WPS The WPS button was mapped to the restart/reset. This patch changes it to emit the KEY_WPS_BUTTON keycode so pressing the WPS button does initiate WPS. Signed-off-by: Christian Lamparter --- diff --git a/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts b/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts index 9fe5cb0af9..8502bed4c5 100644 --- a/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts +++ b/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts @@ -50,7 +50,7 @@ compatible = "gpio-keys"; wps { - linux,code = ; + linux,code = ; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; debounce-interval = <60>; };