Ticks to milliseconds.
ok?
Index: ic/acx.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/acx.c,v
retrieving revision 1.121
diff -u -p -r1.121 acx.c
--- ic/acx.c 26 Oct 2017 15:00:28 -0000 1.121
+++ ic/acx.c 11 Jan 2020 00:26:50 -0000
@@ -2616,7 +2616,7 @@ acx_exec_command(struct acx_softc *sc, u
/* 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