missed additional callout that can run w/o Giant locked

This commit is contained in:
Sam Leffler 2002-10-15 23:25:56 +00:00
parent d7cd6ba39b
commit 87cb581aa4

View File

@ -658,7 +658,8 @@ hifn_init_pubrng(struct hifn_softc *sc)
sc->sc_rnghz = hz / 100;
else
sc->sc_rnghz = 1;
callout_init(&sc->sc_rngto, 0);
/* NB: 1 means the callout runs w/o Giant locked */
callout_init(&sc->sc_rngto, 1);
callout_reset(&sc->sc_rngto, sc->sc_rnghz, hifn_rng, sc);
}