[OpenWrt-Devel] ath79: etactica-eg200: fix restore button
diff mbox series

Message ID 20190812163701.30403-1-karlp@etactica.com
State New
Headers show
Series
  • [OpenWrt-Devel] ath79: etactica-eg200: fix restore button
Related show

Commit Message

Karl Pálsson Aug. 12, 2019, 4:37 p.m. UTC
The button is labelled reboot/restore in documentation, and has always
been used for that.  Naming it WPS has always been wrong.

Signed-off-by: Karl Palsson <karlp@etactica.com>
---
 target/linux/ath79/dts/ar9331_etactica_eg200.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/target/linux/ath79/dts/ar9331_etactica_eg200.dts b/target/linux/ath79/dts/ar9331_etactica_eg200.dts
index d18a239d32..708e9defa4 100644
--- a/target/linux/ath79/dts/ar9331_etactica_eg200.dts
+++ b/target/linux/ath79/dts/ar9331_etactica_eg200.dts
@@ -19,7 +19,7 @@ 
 		poll-interval = <50>;
 
 		restore {
-			linux,code = <KEY_WPS_BUTTON>;
+			linux,code = <KEY_RESTART>;
 			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
 		};
 	};