summaryrefslogtreecommitdiff
path: root/sys/dev/ic/atw.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-21 21:54:01 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-21 21:54:01 +0000
commitebcf515942389f0e738f6323c8b553ceabee63f1 (patch)
tree02576077cba384aac928f4d78d19526d93f75d7b /sys/dev/ic/atw.c
parent170b1962e3648be5d4b991579d61efbc60a24fd2 (diff)
Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).
No functional changes. ok krw@ miod@
Diffstat (limited to 'sys/dev/ic/atw.c')
-rw-r--r--sys/dev/ic/atw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index f1c2e55458b..df3570dfbe9 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atw.c,v 1.64 2008/11/28 02:44:17 brad Exp $ */
+/* $OpenBSD: atw.c,v 1.65 2009/01/21 21:53:59 grange Exp $ */
/* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -2519,7 +2519,7 @@ atw_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
panic("%s: unexpected state IEEE80211_S_INIT", __func__);
break;
case IEEE80211_S_SCAN:
- timeout_add(&sc->sc_scan_to, atw_dwelltime * hz / 1000);
+ timeout_add_msec(&sc->sc_scan_to, atw_dwelltime);
break;
case IEEE80211_S_RUN:
if (ic->ic_opmode == IEEE80211_M_STA)