diff options
author | 2009-08-03 09:33:10 +0000 | |
---|---|---|
committer | 2009-08-03 09:33:10 +0000 | |
commit | 36d4587018ee6360b7621c95910a2965b4a3dee1 (patch) | |
tree | 0d040284fc01a5f5d0ef1031d1ff4429c59bf14a | |
parent | timeout_add -> timeout_add_msec (diff) | |
download | wireguard-openbsd-36d4587018ee6360b7621c95910a2965b4a3dee1.tar.xz wireguard-openbsd-36d4587018ee6360b7621c95910a2965b4a3dee1.zip |
timeout_add -> timeout_add_msec
ok jsg@
-rw-r--r-- | sys/dev/usb/if_uath.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_upgt.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/if_uath.c b/sys/dev/usb/if_uath.c index 64907a068e6..947e241f2ed 100644 --- a/sys/dev/usb/if_uath.c +++ b/sys/dev/usb/if_uath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_uath.c,v 1.38 2008/12/15 17:01:54 damien Exp $ */ +/* $OpenBSD: if_uath.c,v 1.39 2009/08/03 09:33:10 blambert Exp $ */ /*- * Copyright (c) 2006 @@ -812,7 +812,7 @@ uath_task(void *arg) sc->sc_dev.dv_xname); break; } - timeout_add(&sc->scan_to, hz / 4); + timeout_add_msec(&sc->scan_to, 250); break; case IEEE80211_S_AUTH: diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c index 14f3da22aee..d65a53e9de7 100644 --- a/sys/dev/usb/if_upgt.c +++ b/sys/dev/usb/if_upgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_upgt.c,v 1.45 2009/08/02 10:38:34 miod Exp $ */ +/* $OpenBSD: if_upgt.c,v 1.46 2009/08/03 09:33:10 blambert Exp $ */ /* * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> @@ -1363,7 +1363,7 @@ upgt_newstate_task(void *arg) channel = ieee80211_chan2ieee(ic, ic->ic_bss->ni_chan); upgt_set_channel(sc, channel); - timeout_add(&sc->scan_to, hz / 5); + timeout_add_msec(&sc->scan_to, 200); break; case IEEE80211_S_AUTH: DPRINTF(1, "%s: newstate is IEEE80211_S_AUTH\n", |