diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-10 07:44:05 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-10 07:44:05 +0000 |
commit | 5b49c3d1e5cafa95d132862cd3c2670180e2369c (patch) | |
tree | fe02a70383744e036d9236f8a4658bd66c73c1ce /sys | |
parent | 6f35d52053091ff652ec1df0da3478003e702e26 (diff) |
timeout_add -> timeout_add_msec
ok damien@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_iwn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index 108c01cb08f..bc6c2d431ee 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.59 2009/06/02 16:28:21 damien Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.60 2009/07/10 07:44:04 blambert Exp $ */ /*- * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr> @@ -1566,7 +1566,7 @@ iwn_calib_timeout(void *arg) sc->calib_cnt = 0; } /* Automatic rate control triggered every 500ms. */ - timeout_add(&sc->calib_to, hz / 2); + timeout_add_msec(&sc->calib_to, 500); } int @@ -4170,7 +4170,7 @@ iwn_run(struct iwn_softc *sc) /* Start periodic calibration timer. */ sc->calib.state = IWN_CALIB_STATE_ASSOC; sc->calib_cnt = 0; - timeout_add(&sc->calib_to, hz / 2); + timeout_add_msec(&sc->calib_to, 500); /* Link LED always on while associated. */ iwn_set_led(sc, IWN_LED_LINK, 0, 1); |