mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
a8df1e20f1
commit
1e8f076a8e
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue