summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ciptool.c2
-rw-r--r--tools/hciattach.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ciptool.c b/tools/ciptool.c
index 8f967858..97dcb62d 100644
--- a/tools/ciptool.c
+++ b/tools/ciptool.c
@@ -380,7 +380,7 @@ static void cmd_loopback(int ctl, bdaddr_t *bdaddr, int argc, char **argv)
while (!__io_canceled) {
p.revents = 0;
- if (poll(&p, 1, 100))
+ if (poll(&p, 1, 500))
break;
}
diff --git a/tools/hciattach.c b/tools/hciattach.c
index ca7f91c7..a38d2481 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -1265,7 +1265,7 @@ int main(int argc, char *argv[])
while (!__io_canceled) {
p.revents = 0;
- if (poll(&p, 1, 100))
+ if (poll(&p, 1, 500))
break;
}