PERFORCE change 133383 for review
Sam Leffler
sam at FreeBSD.org
Tue Jan 15 17:16:24 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133383
Change 133383 by sam at 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)
More information about the p4-projects
mailing list