Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 01:16:23 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 133383 for review
Message-ID:  <200801160116.m0G1GNRD059015@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133383

Change 133383 by sam@sam_ebb on 2008/01/16 01:15:36

	kludge kludge kludge: make the com lock recursive

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_freebsd.h#14 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_freebsd.h#14 (text+ko) ====

@@ -33,7 +33,7 @@
  */
 typedef struct mtx ieee80211_com_lock_t;
 #define	IEEE80211_LOCK_INIT(_ic, _name) \
-	mtx_init(&(_ic)->ic_comlock, _name, "802.11 com lock", MTX_DEF)
+	mtx_init(&(_ic)->ic_comlock, _name, "802.11 com lock", MTX_DEF | MTX_RECURSE)
 #define	IEEE80211_LOCK_DESTROY(_ic) mtx_destroy(&(_ic)->ic_comlock)
 #define	IEEE80211_LOCK(_ic)	   mtx_lock(&(_ic)->ic_comlock)
 #define	IEEE80211_UNLOCK(_ic)	   mtx_unlock(&(_ic)->ic_comlock)



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