diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-02 15:01:11 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-02 15:01:11 +0000 |
commit | be88ab55c1859eac36ec93f246ad6d766a5fe100 (patch) | |
tree | a1be940b6dd39ecdd7e5000ce182896e9bc7a274 /sys/dev | |
parent | fc6089cdb2ab2b5d7cf385d9864e9266e42034d2 (diff) |
timeout_add -> timeout_add_msec
ok krw@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/bluetooth/bthidev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/bluetooth/bthidev.c b/sys/dev/bluetooth/bthidev.c index 9908d971d67..2df63415440 100644 --- a/sys/dev/bluetooth/bthidev.c +++ b/sys/dev/bluetooth/bthidev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bthidev.c,v 1.6 2009/11/21 13:05:32 guenther Exp $ */ +/* $OpenBSD: bthidev.c,v 1.7 2010/07/02 15:01:10 blambert Exp $ */ /* $NetBSD: bthidev.c,v 1.16 2008/08/06 15:01:23 plunky Exp $ */ /*- @@ -642,8 +642,8 @@ bthidev_ctl_disconnected(void *arg, int err) sc->sc_flags &= ~BTHID_CONNECTING; if (sc->sc_flags & BTHID_RECONNECT) - timeout_add(&sc->sc_reconnect, - BTHID_RETRY_INTERVAL * hz); + timeout_add_sec(&sc->sc_reconnect, + BTHID_RETRY_INTERVAL); else sc->sc_state = BTHID_WAIT_CTL; } else { @@ -674,8 +674,8 @@ bthidev_int_disconnected(void *arg, int err) sc->sc_flags &= ~BTHID_CONNECTING; if (sc->sc_flags & BTHID_RECONNECT) - timeout_add(&sc->sc_reconnect, - BTHID_RETRY_INTERVAL * hz); + timeout_add_sec(&sc->sc_reconnect, + BTHID_RETRY_INTERVAL); else sc->sc_state = BTHID_WAIT_CTL; } else { |