diff options
author | 2010-07-02 15:01:10 +0000 | |
---|---|---|
committer | 2010-07-02 15:01:10 +0000 | |
commit | 5dcbd67db0dd74c4231f5b499c04b8df7648d331 (patch) | |
tree | f99bc433431f404c885b484592e1fdbc20a650af | |
parent | Allow systat to print date and time when in rawmode. (diff) | |
download | wireguard-openbsd-5dcbd67db0dd74c4231f5b499c04b8df7648d331.tar.xz wireguard-openbsd-5dcbd67db0dd74c4231f5b499c04b8df7648d331.zip |
timeout_add -> timeout_add_msec
ok krw@
-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 { |