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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to