summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-13 10:18:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-13 10:18:30 +0000
commit3dc1073b53fada9ec07144902122481ab96692d1 (patch)
tree612a9c532a52c4dcd4fe6cef97f50d1e49ad5f9d /target/linux/ar71xx/files
parent21742847bd842fd7a2e7ba60854b38e09a287260 (diff)
downloadmtk-20170518-3dc1073b53fada9ec07144902122481ab96692d1.zip
mtk-20170518-3dc1073b53fada9ec07144902122481ab96692d1.tar.gz
mtk-20170518-3dc1073b53fada9ec07144902122481ab96692d1.tar.bz2
ar71xx: reduce button threshold values
SVN-Revision: 19116
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-aw-nr580.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-615-c1.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w04nu.c6
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c6
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb42.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c2
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c6
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c4
22 files changed, 46 insertions, 46 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c
index daf7dcf..6fa950f 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap81.c
@@ -92,14 +92,14 @@ static struct gpio_button ap81_gpio_buttons[] __initdata = {
.desc = "sw1",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = AP81_GPIO_BTN_SW1,
.active_low = 1,
} , {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = AP81_GPIO_BTN_SW4,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c
index cd4746b..72c0016 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c
@@ -120,14 +120,14 @@ static struct gpio_button ap83_gpio_buttons[] __initdata = {
.desc = "soft_reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = AP83_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "jumpstart",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = AP83_GPIO_BTN_JUMPSTART,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-aw-nr580.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-aw-nr580.c
index 5cee4c6..a6f1daf 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-aw-nr580.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-aw-nr580.c
@@ -62,14 +62,14 @@ static struct gpio_button aw_nr580_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = AW_NR580_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = AW_NR580_GPIO_BTN_WPS,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c
index d76e9b6..68f1822 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c
@@ -92,14 +92,14 @@ static struct gpio_button dir_600_a1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = DIR_600_A1_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = DIR_600_A1_GPIO_BTN_WPS,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-615-c1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-615-c1.c
index d6f1fa7..5eb594c 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-615-c1.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-615-c1.c
@@ -117,13 +117,13 @@ static struct gpio_button dir_615c1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = DIR_615C1_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = DIR_615C1_GPIO_BTN_WPS,
}
};
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
index 80ab330..e80a992 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
@@ -117,14 +117,14 @@ static struct gpio_button dir825b1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = DIR825B1_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "powersave",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = DIR825B1_GPIO_BTN_POWERSAVE,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w04nu.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w04nu.c
index 6af5dd4..1e5a933 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w04nu.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w04nu.c
@@ -106,21 +106,21 @@ static struct gpio_button mzk_w04nu_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_WPS,
.active_low = 1,
}, {
.desc = "aprouter",
.type = EV_KEY,
.code = BTN_2,
- .threshold = 5,
+ .threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_APROUTER,
.active_low = 0,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c
index 88a3bd1..3a38c82 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c
@@ -105,21 +105,21 @@ static struct gpio_button mzk_w300nh_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = MZK_W300NH_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = MZK_W300NH_GPIO_BTN_WPS,
.active_low = 1,
}, {
.desc = "aprouter",
.type = EV_KEY,
.code = BTN_2,
- .threshold = 5,
+ .threshold = 3,
.gpio = MZK_W300NH_GPIO_BTN_APROUTER,
.active_low = 0,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb42.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb42.c
index 44bf389..96a976f 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb42.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb42.c
@@ -28,14 +28,14 @@ static struct gpio_button pb42_gpio_buttons[] __initdata = {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = PB42_GPIO_BTN_SW4,
.active_low = 1,
} , {
.desc = "sw5",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = PB42_GPIO_BTN_SW5,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c
index 7cace67..052884f 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c
@@ -95,14 +95,14 @@ static struct gpio_button pb44_gpio_buttons[] __initdata = {
.desc = "soft_reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = PB44_GPIO_SW_RESET,
.active_low = 1,
} , {
.desc = "jumpstart",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = PB44_GPIO_SW_JUMP,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
index ab3d65b..2392c3d 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
@@ -43,7 +43,7 @@ static struct gpio_button rb4xx_gpio_buttons[] __initdata = {
.desc = "reset_switch",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = RB4XX_GPIO_RESET_SWITCH,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c
index c92cb00..4abb8e4 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c
@@ -93,13 +93,13 @@ static struct gpio_button tew_632brp_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = TEW_632BRP_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = TEW_632BRP_GPIO_BTN_WPS,
}
};
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c
index 79bb227..03508db 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c
@@ -91,14 +91,14 @@ static struct gpio_button tl_wr1043nd_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR1043ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR1043ND_GPIO_BTN_QSS,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c
index b2d33c0..e5d9776 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c
@@ -80,14 +80,14 @@ static struct gpio_button tl_wr741nd_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR741ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR741ND_GPIO_BTN_QSS,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c
index 3bc063a..9f9e3c6 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c
@@ -84,14 +84,14 @@ static struct gpio_button tl_wr841n_v1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR841ND_V1_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR841ND_V1_GPIO_BTN_QSS,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
index 0f4277e..67af5b0 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
@@ -84,14 +84,14 @@ static struct gpio_button tl_wr941nd_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR941ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = TL_WR941ND_GPIO_BTN_QSS,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
index 37151ab..5b1c504 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
@@ -105,7 +105,7 @@ static struct gpio_button ubnt_gpio_buttons[] __initdata = {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = UBNT_RS_GPIO_SW4,
.active_low = 1,
}
@@ -116,7 +116,7 @@ static struct gpio_button ubnt_m_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = UBNT_M_GPIO_BTN_RESET,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
index 14cde55d..b289d9d 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
@@ -126,19 +126,19 @@ static struct gpio_button wndr3700_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = WNDR3700_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = WNDR3700_GPIO_BTN_WPS,
} , {
.desc = "wifi",
.type = EV_KEY,
.code = BTN_2,
- .threshold = 5,
+ .threshold = 3,
.gpio = WNDR3700_GPIO_BTN_WIFI,
}
};
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c
index 778e99d..bf4be89 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c
@@ -103,13 +103,13 @@ static struct gpio_button wnr2000_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = WNR2000_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = WNR2000_GPIO_BTN_WPS,
}
};
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
index a2669f1..bf8b9f5 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
@@ -61,13 +61,13 @@ static struct gpio_button wp543_gpio_buttons[] __initdata = {
.desc = "sw6",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = WP543_GPIO_SW6,
}, {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = WP543_GPIO_SW4,
}
};
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c
index 9c85235..7fb97d9 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c
@@ -101,14 +101,14 @@ static struct gpio_button wrt160nl_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = WRT160NL_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = WRT160NL_GPIO_BTN_WPS,
.active_low = 1,
}
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
index 465b6c6..3d50afc 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
@@ -115,14 +115,14 @@ static struct gpio_button wrt400n_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold = 5,
+ .threshold = 3,
.gpio = WRT400N_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "wlsec",
.type = EV_KEY,
.code = BTN_1,
- .threshold = 5,
+ .threshold = 3,
.gpio = WRT400N_GPIO_BTN_WLSEC,
.active_low = 1,
}