summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hidd/fakehid.c2
-rw-r--r--hidd/main.c2
-rw-r--r--rfcomm/main.c4
-rw-r--r--test/hciemu.c2
-rw-r--r--test/l2test.c2
-rw-r--r--tools/ciptool.c2
-rw-r--r--tools/hciattach.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/hidd/fakehid.c b/hidd/fakehid.c
index 2699d3f5..91a62fb3 100644
--- a/hidd/fakehid.c
+++ b/hidd/fakehid.c
@@ -318,7 +318,7 @@ int epox_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel)
while (!__io_canceled) {
p.revents = 0;
- if (poll(&p, 1, 100) < 1)
+ if (poll(&p, 1, 500) < 1)
continue;
len = read(sk, buf, sizeof(buf));
diff --git a/hidd/main.c b/hidd/main.c
index 4ececd5a..77f80c3f 100644
--- a/hidd/main.c
+++ b/hidd/main.c
@@ -340,7 +340,7 @@ static void run_server(int ctl, int csk, int isk, uint8_t subclass, int nosdp, i
p[0].revents = 0;
p[1].revents = 0;
- err = poll(p, 2, 100);
+ err = poll(p, 2, 500);
if (err <= 0)
continue;
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;
}
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;
}
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;
}