git: e56099769d72 - stable/13 - net80211: adjust a printf to toeee80211_note

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 30 Dec 2021 19:22:42 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=e56099769d725828032aa9c6c49a4fd34f0a3e24

commit e56099769d725828032aa9c6c49a4fd34f0a3e24
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-12-26 17:26:58 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-12-30 18:27:02 +0000

    net80211: adjust a printf to toeee80211_note
    
    Throughout net80211 there are multiple ways to log (debugging)
    information.  Start to clenaup one as I kept hitting it to harmonize
    the output.  The more we get away from printfs into either wrapper
    functions or macros the more likely we can use holistic systematic
    tracing in the future.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 2e59c9c7f01e9e8878664f59438d1ed6c27d0e2b)
---
 sys/net80211/ieee80211_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 66d659af0866..c6898810a694 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -1057,7 +1057,7 @@ ieee80211_mgmt_output(struct ieee80211_node *ni, struct mbuf *m, int type,
 	/* avoid printing too many frames */
 	if ((ieee80211_msg_debug(vap) && doprint(vap, type)) ||
 	    ieee80211_msg_dumppkts(vap)) {
-		printf("[%s] send %s on channel %u\n",
+		ieee80211_note(vap, "[%s] send %s on channel %u\n",
 		    ether_sprintf(wh->i_addr1),
 		    ieee80211_mgt_subtype_name(type),
 		    ieee80211_chan2ieee(ic, ic->ic_curchan));