aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2024-12-28 10:00:09 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2025-01-07 14:30:49 +0000
commit91a4107d6d3028acd96df96de33b8a7665d3eb03 (patch)
treeb2d05cd76b2b6957220c63805ba0cd68819d3990
parent2372f8cc640c2f4ab82831e6ac0e27ab6c18321a (diff)
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 MFC after: 1 week Reviewed by: adrian, emaste Differential Revision: https://reviews.freebsd.org/D48319
-rw-r--r--sbin/ifconfig/ifieee80211.c2
1 files changed, 0 insertions, 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);
}