From: Oren Poleg <o...@poleg.org>

A typo in the definition for the OM2P reset button disabled its functionality
in OpenWrt. The actual button for these two devices is "1" and not "11".

Signed-off-by: Oren Poleg <o...@poleg.org>
[s...@open-mesh.org: added a commit subject+message]
Signed-off-by: Sven Eckelmann <s...@open-mesh.com>
---
 target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c 
b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
index 24f4527..6b0bdc3 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
@@ -31,7 +31,7 @@
 #define OM2P_GPIO_LED_YELLOW   15
 #define OM2P_GPIO_LED_LAN      16
 #define OM2P_GPIO_LED_WAN      17
-#define OM2P_GPIO_BTN_RESET    11
+#define OM2P_GPIO_BTN_RESET    1
 
 #define OM2P_KEYS_POLL_INTERVAL                20      /* msecs */
 #define OM2P_KEYS_DEBOUNCE_INTERVAL    (3 * OM2P_KEYS_POLL_INTERVAL)
-- 
2.1.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to