summaryrefslogtreecommitdiffstats
path: root/rfcomm/main.c
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 /rfcomm/main.c
parent876bfd3a0da64aaa188717aefed829fc2ec6c91b (diff)
Change default poll() timeout
Diffstat (limited to 'rfcomm/main.c')
-rw-r--r--rfcomm/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfcomm/main.c b/rfcomm/main.c
index e7a381fc..43d52e61 100644
--- a/rfcomm/main.c
+++ b/rfcomm/main.c
@@ -383,7 +383,7 @@ static void cmd_connect(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **arg
while (!__io_canceled) {
p.revents = 0;
- if (poll(&p, 1, 100))
+ if (poll(&p, 1, 500))
break;
}
@@ -501,7 +501,7 @@ static void cmd_listen(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **argv
while (!__io_canceled) {
p.revents = 0;
- if (poll(&p, 1, 100))
+ if (poll(&p, 1, 500))
break;
}