summaryrefslogtreecommitdiff
path: root/sys/dev/bluetooth/bthidev.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
commit447ea046b5b4aba425b2879f683099c1cfa3713f (patch)
tree8bca5f4e5c63f94a107ad0f4fb69f34c526fe488 /sys/dev/bluetooth/bthidev.c
parentb302a033156f300c77b20b1eb011b4ceaccff009 (diff)
Second pass of simple timeout_add -> timeout_add_sec conversions
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
Diffstat (limited to 'sys/dev/bluetooth/bthidev.c')
-rw-r--r--sys/dev/bluetooth/bthidev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bluetooth/bthidev.c b/sys/dev/bluetooth/bthidev.c
index 2ac50931dd6..07dddfa314d 100644
--- a/sys/dev/bluetooth/bthidev.c
+++ b/sys/dev/bluetooth/bthidev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bthidev.c,v 1.2 2008/02/24 21:46:19 uwe Exp $ */
+/* $OpenBSD: bthidev.c,v 1.3 2008/10/15 19:12:19 blambert Exp $ */
/* $NetBSD: bthidev.c,v 1.13 2007/11/12 19:19:32 plunky Exp $ */
/*-
@@ -658,7 +658,7 @@ bthidev_ctl_disconnected(void *arg, int err)
* Give them a second to do the right thing or let the
* callout handle it.
*/
- timeout_add(&sc->sc_reconnect, hz);
+ timeout_add_sec(&sc->sc_reconnect, 1);
}
}
@@ -688,7 +688,7 @@ bthidev_int_disconnected(void *arg, int err)
* The control channel should be closing also, allow
* them a chance to do that before we force it.
*/
- timeout_add(&sc->sc_reconnect, hz);
+ timeout_add_sec(&sc->sc_reconnect, 1);
}
}