mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add missing bit of last if_start workaround: mark scan callout
MPSAFE only debug_mpsafenet is 1 so callbacks to send management frames hold Giant; this is another bandaid on the path to removing Giant.
This commit is contained in:
parent
b78b739ec8
commit
e383b24041
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ 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, CALLOUT_MPSAFE);
|
||||
callout_init(&sc->sc_scan_ch, debug_mpsafenet ? CALLOUT_MPSAFE : 0);
|
||||
callout_init(&sc->sc_cal_ch, CALLOUT_MPSAFE);
|
||||
|
||||
ATH_TXBUF_LOCK_INIT(sc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue