Skip to content

Commit

Permalink
ath79: remap D-Link DIR-859 A1 WPS button to WPS
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
chunkeey committed Nov 16, 2019
1 parent ad65d9d commit 7a7610c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
Expand Down

0 comments on commit 7a7610c

Please sign in to comment.