diff options
| author | Christian Lamparter | 2019-11-16 21:42:07 +0000 |
|---|---|---|
| committer | Christian Lamparter | 2019-11-16 22:35:44 +0000 |
| commit | b50177d15180241cb15822733920970355e88b49 (patch) | |
| tree | c04ade05a653b1e1210564624eab716bbc005e10 | |
| parent | 1bd280b1ef6502045eeef86aaa64481238e983c3 (diff) | |
| download | openwrt-b50177d15180241cb15822733920970355e88b49.tar.gz | |
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>
(cherry picked from commit 7a7610c21bb0979f2ae14f3c31012ac9e148b439)
| -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 8bd9067afa..c0e0cc7473 100644 --- a/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts +++ b/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts @@ -51,7 +51,7 @@ poll-interval = <20>; wps { - linux,code = <KEY_RESTART>; + linux,code = <KEY_WPS_BUTTON>; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; |