diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2019-11-16 22:42:07 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-11-16 22:42:07 +0100 |
commit | 7a7610c21bb0979f2ae14f3c31012ac9e148b439 (patch) | |
tree | 399a56b9daa06e95db2de8eb847c6e859cf74389 /target/linux/ath79 | |
parent | ad65d9d7b264d6d17293c59469e770905d2f785a (diff) | |
download | upstream-7a7610c21bb0979f2ae14f3c31012ac9e148b439.tar.gz upstream-7a7610c21bb0979f2ae14f3c31012ac9e148b439.tar.bz2 upstream-7a7610c21bb0979f2ae14f3c31012ac9e148b439.zip |
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 <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts | 2 |
1 files changed, 1 insertions, 1 deletions
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 = <KEY_RESTART>; + linux,code = <KEY_WPS_BUTTON>; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; |