summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r--sys/dev/ic/ath.c6
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