diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-08-10 10:20:59 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-08-10 10:20:59 +0000 |
commit | 35e9349ffc53950c4b78fba9537a50cdb6e5fd7a (patch) | |
tree | 3c1ba96949354717d9c943e4b95da275d78fc75b /tools | |
parent | 876bfd3a0da64aaa188717aefed829fc2ec6c91b (diff) |
Change default poll() timeout
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ciptool.c | 2 | ||||
-rw-r--r-- | tools/hciattach.c | 2 |
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; } |