Author: adrian
Date: Sat Apr  9 22:01:32 2016
New Revision: 297769
URL: https://svnweb.freebsd.org/changeset/base/297769

Log:
  [net80211] log the node pointer when calling ht node init/cleanup
  
  This makes it easier to track which node is having what done do it
  during normal use.
  
  This is likely the eighth time I've done this since I started doing
  net80211 development, so I think it's about time I just committed it.

Modified:
  head/sys/net80211/ieee80211_ht.c

Modified: head/sys/net80211/ieee80211_ht.c
==============================================================================
--- head/sys/net80211/ieee80211_ht.c    Sat Apr  9 21:57:34 2016        
(r297768)
+++ head/sys/net80211/ieee80211_ht.c    Sat Apr  9 22:01:32 2016        
(r297769)
@@ -1063,8 +1063,9 @@ ieee80211_ht_node_init(struct ieee80211_
 
        IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_11N,
            ni,
-           "%s: called",
-           __func__);
+           "%s: called (%p)",
+           __func__,
+           ni);
 
        if (ni->ni_flags & IEEE80211_NODE_HT) {
                /*
@@ -1074,8 +1075,8 @@ ieee80211_ht_node_init(struct ieee80211_
                 */
                IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_11N,
                    ni,
-                   "%s: calling cleanup",
-                   __func__);
+                   "%s: calling cleanup (%p)",
+                   __func__, ni);
                ieee80211_ht_node_cleanup(ni);
        }
        for (tid = 0; tid < WME_NUM_TID; tid++) {
@@ -1100,8 +1101,8 @@ ieee80211_ht_node_cleanup(struct ieee802
 
        IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_11N,
            ni,
-           "%s: called",
-           __func__);
+           "%s: called (%p)",
+           __func__, ni);
 
        KASSERT(ni->ni_flags & IEEE80211_NODE_HT, ("not an HT node"));
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to