Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2015 16:23:16 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286416 - head/sys/dev/usb/wlan
Message-ID:  <201508071623.t77GNGbJ030924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508071623.t77GNGbJ030924>