diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-11 13:28:37 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-11 13:28:37 +0000 |
commit | a46f91e862b54513b9d0f075a146b38d47b5abc9 (patch) | |
tree | 4d682e30928bf94abc693a8f54a7e1c423159d1e /sys/dev/pci/if_wpi.c | |
parent | 3fa08104b502af47e29baf206eb109d911c9f362 (diff) |
timeout_add -> timeout_add_msec
Been running this on my laptop for a while now with no apparent ill effects.
originally from a longer list from grange@
ok krw@ as part of that list
Diffstat (limited to 'sys/dev/pci/if_wpi.c')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c index e8772f1e778..d52562647fe 100644 --- a/sys/dev/pci/if_wpi.c +++ b/sys/dev/pci/if_wpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpi.c,v 1.88 2009/06/02 16:28:21 damien Exp $ */ +/* $OpenBSD: if_wpi.c,v 1.89 2009/07/11 13:28:36 blambert Exp $ */ /*- * Copyright (c) 2006-2008 @@ -1095,7 +1095,7 @@ wpi_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 |