summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2017-03-04 13:03:31 +0000
committeravg <avg@FreeBSD.org>2017-03-04 13:03:31 +0000
commitee895f7b426627aad1638091f62f0eb122a17460 (patch)
tree822fb78084d564fa54c140dfab630370fb3397e6 /sys/dev/ath
parenta3480d5c9e3eb277d85d4bef6f03fd62eb864799 (diff)
downloadFreeBSD-src-ee895f7b426627aad1638091f62f0eb122a17460.zip
FreeBSD-src-ee895f7b426627aad1638091f62f0eb122a17460.tar.gz
MFC r283291: don't use CALLOUT_MPSAFE with callout_init()
The main purpose of this MFC is to reduce conflicts for other merges. Parts of the original change have already "trickled down" via individual MFCs.
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 6e58896..c91bc09 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -547,7 +547,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
sc->sc_ledstate = 1;
sc->sc_ledon = 0; /* low true */
sc->sc_ledidle = (2700*hz)/1000; /* 2.7sec */
- callout_init(&sc->sc_ledtimer, CALLOUT_MPSAFE);
+ callout_init(&sc->sc_ledtimer, 1);
/*
* Don't setup hardware-based blinking.
OpenPOWER on IntegriCloud