summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-08-19 21:05:47 +0000
committersam <sam@FreeBSD.org>2003-08-19 21:05:47 +0000
commit895f841f53a195064dd3cf17710e9e3fcc522bb0 (patch)
treecb6ad1a118e4e0987fd1e7006c171d071bb8f730 /sys/dev/ath/if_ath.c
parent4b1facc273aefd353dd9b3b2b75d19eb70f7c8c0 (diff)
downloadFreeBSD-src-895f841f53a195064dd3cf17710e9e3fcc522bb0.zip
FreeBSD-src-895f841f53a195064dd3cf17710e9e3fcc522bb0.tar.gz
mark the scan and calibrate callouts MPSAFE
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index e05d2ff..9d07c7c 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -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);
OpenPOWER on IntegriCloud