mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 13:23:36 +00:00
[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.
This commit is contained in:
parent
169c392c43
commit
5cf581e264
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297769
|
@ -1063,8 +1063,9 @@ ieee80211_ht_node_init(struct ieee80211_node *ni)
|
|||
|
||||
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_node *ni)
|
|||
*/
|
||||
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 ieee80211_node *ni)
|
|||
|
||||
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"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue