summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-08-10 10:20:59 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-08-10 10:20:59 +0000
commit35e9349ffc53950c4b78fba9537a50cdb6e5fd7a (patch)
tree3c1ba96949354717d9c943e4b95da275d78fc75b /test
parent876bfd3a0da64aaa188717aefed829fc2ec6c91b (diff)
Change default poll() timeout
Diffstat (limited to 'test')
-rw-r--r--test/hciemu.c2
-rw-r--r--test/l2test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/hciemu.c b/test/hciemu.c
index 213ca78c..37e80318 100644
--- a/test/hciemu.c
+++ b/test/hciemu.c
@@ -1128,7 +1128,7 @@ static int run_proxy(int fd, int dev, bdaddr_t *bdaddr)
while (!__io_canceled) {
p[0].revents = 0;
p[1].revents = 0;
- err = poll(p, 2, 100);
+ err = poll(p, 2, 500);
if (err < 0)
break;
if (!err)
diff --git a/test/l2test.c b/test/l2test.c
index f8572067..f3365c01 100644
--- a/test/l2test.c
+++ b/test/l2test.c
@@ -646,7 +646,7 @@ static void connect_mode(char *svr)
while (1) {
p.revents = 0;
- if (poll(&p, 1, 100))
+ if (poll(&p, 1, 500))
break;
}