diff options
author | 2009-07-31 11:18:09 +0000 | |
---|---|---|
committer | 2009-07-31 11:18:09 +0000 | |
commit | 3ab393d3de2e868879c19e8761c97903760d18c1 (patch) | |
tree | 57f34891adb9dfe08eca434fcaf9c17ff5d55c8c | |
parent | timeout_add -> timeout_add_msec (diff) | |
download | wireguard-openbsd-3ab393d3de2e868879c19e8761c97903760d18c1.tar.xz wireguard-openbsd-3ab393d3de2e868879c19e8761c97903760d18c1.zip |
timeout_add -> timeout_add_msec
ok jsg@
-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 |