diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2020-01-11 08:16:19 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2020-01-11 08:16:19 +0000 |
commit | 87c3d24377225cfee53dc7a79bf48234758e2be1 (patch) | |
tree | ed949e29c8d8d46b7de225ba79a593b038b999ca /sys/dev/ic | |
parent | 3ce9690d3737a4e5438d5f9feeca93bcf9c1c56c (diff) |
acx(4): tsleep(9) -> tsleep_nsec(9); ok claudio@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/acx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c index a1ca62ea1a4..d758d837a0b 100644 --- a/sys/dev/ic/acx.c +++ b/sys/dev/ic/acx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acx.c,v 1.121 2017/10/26 15:00:28 mpi Exp $ */ +/* $OpenBSD: acx.c,v 1.122 2020/01/11 08:16:18 cheloha Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -2616,7 +2616,7 @@ acx_exec_command(struct acx_softc *sc, uint16_t cmd, void *param, /* Wait for command to complete */ if (cmd == ACXCMD_INIT_RADIO) { /* radio initialization is extremely long */ - tsleep(&cmd, 0, "rdinit", (300 * hz) / 1000); /* 300ms */ + tsleep_nsec(&cmd, 0, "rdinit", MSEC_TO_NSEC(300)); } #define CMDWAIT_RETRY_MAX 1000 |