Date: Sat, 9 Apr 2016 22:01:32 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297769 - head/sys/net80211 Message-ID: <201604092201.u39M1WNX028835@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604092201.u39M1WNX028835>