svn commit: r286416 - head/sys/dev/usb/wlan
Gleb Smirnoff
glebius at FreeBSD.org
Fri Aug 7 16:23:17 UTC 2015
Author: glebius
Date: Fri Aug 7 16:23:16 2015
New Revision: 286416
URL: https://svnweb.freebsd.org/changeset/base/286416
Log:
Fix mtx_assert() argument.
Modified:
head/sys/dev/usb/wlan/if_zyd.c
Modified: head/sys/dev/usb/wlan/if_zyd.c
==============================================================================
--- head/sys/dev/usb/wlan/if_zyd.c Fri Aug 7 14:38:26 2015 (r286415)
+++ head/sys/dev/usb/wlan/if_zyd.c Fri Aug 7 16:23:16 2015 (r286416)
@@ -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;
More information about the svn-src-all
mailing list