[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
aa8d56fcef
commit
0d5c9ef4aa
@ -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 New Issue
Block a user