mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Caller already hold a driver lock in mii callback, assert it.
This commit is contained in:
parent
e2b166039a
commit
4b76fe63d9
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ msk_miibus_statchg(device_t dev)
|
|||
sc_if = device_get_softc(dev);
|
||||
sc = sc_if->msk_softc;
|
||||
|
||||
MSK_IF_LOCK(sc_if);
|
||||
MSK_IF_LOCK_ASSERT(sc_if);
|
||||
|
||||
mii = device_get_softc(sc_if->msk_miibus);
|
||||
ifp = sc_if->msk_ifp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue