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>
This commit is contained in:
		| @@ -50,7 +50,7 @@ | |||||||
| 		compatible = "gpio-keys"; | 		compatible = "gpio-keys"; | ||||||
|  |  | ||||||
| 		wps { | 		wps { | ||||||
| 			linux,code = <KEY_RESTART>; | 			linux,code = <KEY_WPS_BUTTON>; | ||||||
| 			gpios = <&gpio 1 GPIO_ACTIVE_LOW>; | 			gpios = <&gpio 1 GPIO_ACTIVE_LOW>; | ||||||
| 			debounce-interval = <60>; | 			debounce-interval = <60>; | ||||||
| 		}; | 		}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Lamparter
					Christian Lamparter