mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Fix mtx_assert() argument.
This commit is contained in:
parent
ebef81ecea
commit
ad30bc5aec
@ -2581,7 +2581,7 @@ zyd_start(struct zyd_softc *sc)
|
||||
struct ieee80211_node *ni;
|
||||
struct mbuf *m;
|
||||
|
||||
ZYD_LOCK_ASSERT(sc, MA_LOCKED);
|
||||
ZYD_LOCK_ASSERT(sc, MA_OWNED);
|
||||
|
||||
while (sc->tx_nfree > 0 && (m = mbufq_dequeue(&sc->sc_snd)) != NULL) {
|
||||
ni = (struct ieee80211_node *)m->m_pkthdr.rcvif;
|
||||
|
Loading…
Reference in New Issue
Block a user