Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2025 14:31:49 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 91a4107d6d30 - main - ifconfig: remove debug printfs from set80211vhtconf()
Message-ID:  <202501071431.507EVnQL015209@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

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

commit 91a4107d6d3028acd96df96de33b8a7665d3eb03
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-12-28 10:00:09 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-01-07 14:30:49 +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
    MFC after:      1 week
    Reviewed by:    adrian, emaste
    Differential Revision: https://reviews.freebsd.org/D48319
---
 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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501071431.507EVnQL015209>