1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00

mark the scan and calibrate callouts MPSAFE

This commit is contained in:
Sam Leffler 2003-08-19 21:05:47 +00:00
parent 91a2b886de
commit 2274d8c885
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119143

View File

@ -226,8 +226,8 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
if_printf(ifp, "failed to allocate descriptors: %d\n", error);
goto bad;
}
callout_init(&sc->sc_scan_ch, 0);
callout_init(&sc->sc_cal_ch, 0);
callout_init(&sc->sc_scan_ch, CALLOUT_MPSAFE);
callout_init(&sc->sc_cal_ch, CALLOUT_MPSAFE);
mtx_init(&sc->sc_txbuflock,
device_get_nameunit(sc->sc_dev), "xmit buf q", MTX_DEF);