summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwi.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-08-02 19:33:02 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-08-02 19:33:02 +0000
commiteff5ac1cc86bf3a669f388cfb79bca9432baa51c (patch)
treefbbb33c3fb76a4e0b3d5561321175e9db6ad95fa /sys/dev/ic/bwi.c
parent4fffe3d459e475c9b296c8696da1adf1c2d56010 (diff)
timeout_add -> timeout_add_msec
ok mglocker@ jsg@
Diffstat (limited to 'sys/dev/ic/bwi.c')
-rw-r--r--sys/dev/ic/bwi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c
index 472b5a7dad5..027b20d03ff 100644
--- a/sys/dev/ic/bwi.c
+++ b/sys/dev/ic/bwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwi.c,v 1.89 2009/07/25 18:49:54 krw Exp $ */
+/* $OpenBSD: bwi.c,v 1.90 2009/08/02 19:33:01 blambert Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -7429,7 +7429,7 @@ bwi_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
if (ic->ic_opmode != IEEE80211_M_MONITOR) {
/* start automatic rate control timer */
if (ic->ic_fixed_rate == -1)
- timeout_add(&sc->sc_amrr_ch, hz / 2);
+ timeout_add_msec(&sc->sc_amrr_ch, 500);
}
} else
bwi_set_bssid(sc, bwi_zero_addr);
@@ -7484,7 +7484,7 @@ bwi_amrr_timeout(void *arg)
ieee80211_iterate_nodes(ic, bwi_iter_func, sc);
#endif
- timeout_add(&sc->sc_amrr_ch, hz / 2);
+ timeout_add_msec(&sc->sc_amrr_ch, 500);
}
void