summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtw.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/rtw.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/rtw.c')
-rw-r--r--sys/dev/ic/rtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index b10a9e63f40..13119b4348f 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.71 2008/11/28 02:44:17 brad Exp $ */
+/* $OpenBSD: rtw.c,v 1.72 2009/01/21 21:54:00 grange Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
@@ -3454,7 +3454,7 @@ rtw_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
rtw_set_nettype(sc, IEEE80211_M_MONITOR);
}
- timeout_add(&sc->sc_scan_to, rtw_dwelltime * hz / 1000);
+ timeout_add_msec(&sc->sc_scan_to, rtw_dwelltime);
break;
case IEEE80211_S_RUN: