summaryrefslogtreecommitdiffstats
path: root/dund
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-02-13 20:41:55 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-02-13 20:41:55 +0000
commit4539df01941b46f707bd8ccf9d54ff6f288cae70 (patch)
treee9cf0e8e57f12c0548e921d26949bff55404205a /dund
parent98329bfce1a1ce33cf2f46007196ecc63441465a (diff)
Wait 30 * 100ms for udev to create the device node
Diffstat (limited to 'dund')
-rw-r--r--dund/dun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dund/dun.c b/dund/dun.c
index 0f801932..67e60213 100644
--- a/dund/dun.c
+++ b/dund/dun.c
@@ -213,7 +213,7 @@ static int dun_create_tty(int sk, char *tty, int size)
if (stat(tty, &st) < 0) {
snprintf(tty, size, "/dev/rfcomm%d", id);
if (try--) {
- usleep(100);
+ usleep(100 * 1000);
continue;
}