summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-08-03 09:33:11 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-08-03 09:33:11 +0000
commit31a2c5739925c0d27f65f98fea4d2649a3e8b537 (patch)
treee60e8583379eca0786466587f6364b0f9293ca52 /sys/dev
parentf6c4da1eb140782c8de32d6af3d0396a6e715812 (diff)
timeout_add -> timeout_add_msec
ok jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_uath.c4
-rw-r--r--sys/dev/usb/if_upgt.c4
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",