summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-07-10 07:34:03 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-07-10 07:34:03 +0000
commit3715c5de7315896a006729c3a4940b8f9412c0ac (patch)
tree34c19276ce1e3afc4c6e0eb60eb1da5e9b4954dd /sys
parentde53a076a1b2e068e63b07259b62466709a04db6 (diff)
timeout_add -> timeout_add_msec
ok mglocker@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/malo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c
index 433495b0c0d..de34d51d40a 100644
--- a/sys/dev/ic/malo.c
+++ b/sys/dev/ic/malo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malo.c,v 1.87 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: malo.c,v 1.88 2009/07/10 07:34:02 blambert Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -1133,7 +1133,7 @@ malo_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
malo_cmd_set_channel(sc, chan);
}
- timeout_add(&sc->sc_scan_to, hz / 2);
+ timeout_add_msec(&sc->sc_scan_to, 500);
break;
case IEEE80211_S_AUTH:
DPRINTF(1, "%s: newstate AUTH\n", sc->sc_dev.dv_xname);