From nobody Sun Dec 26 17:35:19 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DD2011903FE5; Sun, 26 Dec 2021 17:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JMScS0fp8z3JNp; Sun, 26 Dec 2021 17:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DD03067CF; Sun, 26 Dec 2021 17:35:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BQHZJWc080832; Sun, 26 Dec 2021 17:35:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BQHZJWR080831; Sun, 26 Dec 2021 17:35:19 GMT (envelope-from git) Date: Sun, 26 Dec 2021 17:35:19 GMT Message-Id: <202112261735.1BQHZJWR080831@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 2e59c9c7f01e - main - net80211: adjust a printf to toeee80211_note List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2e59c9c7f01e9e8878664f59438d1ed6c27d0e2b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640540120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AI6JjYtwVhFSDNGP7bpcutVL5dgpETFPDlDtNvkBVrg=; b=BxcJx41fbo5cucquh8gSO4hNd1od4ynP58NHYbmjZeqwzTxd9GZmiIDl2kCUpKThPvfjKa kr9uWIljqMe1byNLyavU4nGx3fgHeQp4xfWU8v5oI1N3X96B44b8Zb7Ew3vG4Z0ioBgH7L vob+fcU8GHKXYW15yQ4Tgp4PeTRYdPG+mGIIU5uZBo/kqmeM6aSa7jEgEOQXwTXawDkw4+ cs07O+b39+KQV0vb/GI8kxksZTa1UFfl+ZgJ9gU3Hii6rbY2bLE4TYtSkdS5AiMHu18dfr VIelLolSVYXsQcKeFhWoMBSXmjHLC0HCWoojfQafz6Lqy2jy0dPX/xI1SdzstQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640540120; a=rsa-sha256; cv=none; b=l92ANI8Zyo32hv1mhQiVH4Qd39W5zKr3QXGvi/7LQqPYnXnitTVqoR3HcXxIM6XKgiO+8B ICTHF07lJnPupR/DnJg7+8ubKCUYi2myKw5z8AlWNcAXbfkn9vm6LQ4zdrK0Mv5+PTlvsk pY/jimUDiJOMMGoDalDC48Mu6e+dwf7t76QHC8ibODLpNjCqFeAn5JrpySSzcIlfF51Y1b 1PAEdRk0pgL6+0nGmMW+zoS5Sz0/9Knq17M7atGJesD930iWVdBCKKMCFYlt8tQB+Bn8go Fl/lrdSx1W7bDyxeE0Sy88U7yZ0KjCJmOZ6Mw5gmAU9OQWOrU4osS4QnVp9FPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=2e59c9c7f01e9e8878664f59438d1ed6c27d0e2b commit 2e59c9c7f01e9e8878664f59438d1ed6c27d0e2b Author: Bjoern A. Zeeb AuthorDate: 2021-12-26 17:26:58 +0000 Commit: Bjoern A. Zeeb CommitDate: 2021-12-26 17:26:58 +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 MFC after: 3 days --- 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));