summaryrefslogtreecommitdiffstats
path: root/rfcomm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfcomm/main.c')
-rw-r--r--rfcomm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfcomm/main.c b/rfcomm/main.c
index 304c7134..b66bcdce 100644
--- a/rfcomm/main.c
+++ b/rfcomm/main.c
@@ -397,7 +397,7 @@ static void cmd_connect(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **arg
if ((fd = open(devname, O_RDONLY | O_NOCTTY)) < 0) {
if (try--) {
snprintf(devname, MAXPATHLEN - 1, "/dev/rfcomm%d", dev);
- usleep(100);
+ usleep(100 * 1000);
continue;
}
perror("Can't open RFCOMM device");