From ad30bc5aec1877d7feb222c4cad449544a51ac01 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Fri, 7 Aug 2015 16:23:16 +0000 Subject: [PATCH] Fix mtx_assert() argument. --- sys/dev/usb/wlan/if_zyd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/wlan/if_zyd.c b/sys/dev/usb/wlan/if_zyd.c index 4c1c778472c6..a86ab8a3f061 100644 --- a/sys/dev/usb/wlan/if_zyd.c +++ b/sys/dev/usb/wlan/if_zyd.c @@ -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;