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:		e9bb7f9aa1
Reviewed by:	adrian, emaste
Differential Revision: https://reviews.freebsd.org/D48319

(cherry picked from commit 91a4107d6d3028acd96df96de33b8a7665d3eb03)
This commit is contained in:
Bjoern A. Zeeb 2024-12-28 10:00:09 +00:00 committed by Franco Fichtner
parent a8df1e20f1
commit 1e8f076a8e

View file

@ -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);
}