svn commit: r194868 - projects/mesh11s/sys/net80211

Rui Paulo rpaulo at FreeBSD.org
Wed Jun 24 18:12:17 UTC 2009


Author: rpaulo
Date: Wed Jun 24 18:12:16 2009
New Revision: 194868
URL: http://svn.freebsd.org/changeset/base/194868

Log:
  Hide ref count debug under DEBUG_REFCNT.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/mesh11s/sys/net80211/ieee80211_hwmp.c

Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_hwmp.c	Wed Jun 24 18:02:34 2009	(r194867)
+++ projects/mesh11s/sys/net80211/ieee80211_hwmp.c	Wed Jun 24 18:12:16 2009	(r194868)
@@ -386,11 +386,13 @@ ieee80211_hwmp_send_action(struct ieee80
 	 * the xmit is complete all the way in the driver.  On error we
 	 * will remove our reference.
 	 */
+#ifdef IEEE80211_DEBUG_REFCNT
 	IEEE80211_DPRINTF(vap, IEEE80211_MSG_NODE,
 	    "ieee80211_ref_node (%s:%u) %p<%s> refcnt %d\n",
 	    __func__, __LINE__,
 	    ni, ether_sprintf(ni->ni_macaddr),
 	    ieee80211_node_refcnt(ni)+1);
+#endif
 	ieee80211_ref_node(ni);
 
 	m = ieee80211_getmgtframe(&frm,


More information about the svn-src-projects mailing list