diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-31 11:18:10 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-31 11:18:10 +0000 |
commit | 3296f2622cee4d966a35fe2d5738bbb471c0cfda (patch) | |
tree | 8e36aed693c4571208f5f3e6877598eb4cf64d8f /sys/dev | |
parent | 4bf820b5cb72b3da1fa896a66ac898b0c7289c56 (diff) |
timeout_add -> timeout_add_msec
ok jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index 7aa923ae2d2..bc57aaa0f92 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.80 2009/01/21 21:53:59 grange Exp $ */ +/* $OpenBSD: ath.c,v 1.81 2009/07/31 11:18:09 blambert Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -3027,7 +3027,7 @@ ath_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) timeout_add_sec(&sc->sc_cal_to, ath_calinterval); if (ic->ic_opmode != IEEE80211_M_MONITOR) - timeout_add(&sc->sc_rssadapt_to, hz / 10); + timeout_add_msec(&sc->sc_rssadapt_to, 100); } else if (nstate == IEEE80211_S_SCAN) { /* start ap/neighbor scan timer */ timeout_add_msec(&sc->sc_scan_to, ath_dwelltime); @@ -3224,7 +3224,7 @@ ath_rssadapt_updatestats(void *arg) ieee80211_iterate_nodes(ic, ath_rssadapt_updatenode, arg); } - timeout_add(&sc->sc_rssadapt_to, hz / 10); + timeout_add_msec(&sc->sc_rssadapt_to, 100); } #ifdef AR_DEBUG |