diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-10-15 19:12:21 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-10-15 19:12:21 +0000 |
commit | 447ea046b5b4aba425b2879f683099c1cfa3713f (patch) | |
tree | 8bca5f4e5c63f94a107ad0f4fb69f34c526fe488 /sys/dev/usb/if_rum.c | |
parent | b302a033156f300c77b20b1eb011b4ceaccff009 (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/usb/if_rum.c')
-rw-r--r-- | sys/dev/usb/if_rum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c index df53a86dad1..3f491a43df2 100644 --- a/sys/dev/usb/if_rum.c +++ b/sys/dev/usb/if_rum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rum.c,v 1.78 2008/08/27 09:05:03 damien Exp $ */ +/* $OpenBSD: if_rum.c,v 1.79 2008/10/15 19:12:18 blambert Exp $ */ /*- * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr> @@ -2218,7 +2218,7 @@ rum_amrr_start(struct rum_softc *sc, struct ieee80211_node *ni) i--); ni->ni_txrate = i; - timeout_add(&sc->amrr_to, hz); + timeout_add_sec(&sc->amrr_to, 1); } void @@ -2269,7 +2269,7 @@ rum_amrr_update(usbd_xfer_handle xfer, usbd_private_handle priv, ieee80211_amrr_choose(&sc->amrr, sc->sc_ic.ic_bss, &sc->amn); - timeout_add(&sc->amrr_to, hz); + timeout_add_sec(&sc->amrr_to, 1); } int |