git: 1b5e1d919fc3 - stable/14 - ifconfig: remove debug printfs from set80211vhtconf()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Feb 2025 14:53:02 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=1b5e1d919fc347d68ff149f6ac1d5c64a38897b6
commit 1b5e1d919fc347d68ff149f6ac1d5c64a38897b6
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-12-28 10:00:09 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-02-10 14:52:12 +0000
ifconfig: remove debug printfs from set80211vhtconf()
Anyone testing VHT options would wonder about these extra two printfs
by now. Remove them from the tree before I have to do so locally again
in another branch.
Sponsored by: The FreeBSD Foundation
Fixes: e9bb7f9aa1b4f
Reviewed by: adrian, emaste
Differential Revision: https://reviews.freebsd.org/D48319
(cherry picked from commit 91a4107d6d3028acd96df96de33b8a7665d3eb03)
---
sbin/ifconfig/ifieee80211.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index 25de7fb13632..396368798da3 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -1978,13 +1978,11 @@ set80211vhtconf(if_ctx *ctx, const char *val __unused, int d)
{
if (get80211val(ctx, IEEE80211_IOC_VHTCONF, &vhtconf) < 0)
errx(-1, "cannot set VHT setting");
- printf("%s: vhtconf=0x%08x, d=%d\n", __func__, vhtconf, d);
if (d < 0) {
d = -d;
vhtconf &= ~d;
} else
vhtconf |= d;
- printf("%s: vhtconf is now 0x%08x\n", __func__, vhtconf);
set80211(ctx, IEEE80211_IOC_VHTCONF, vhtconf, 0, NULL);
}