freebsd11_wlan: Disable a spammy information print.

On some atheroswifi systems, it apparently prints every 100ms.
Hopefully helps with #14270.
This commit is contained in:
Augustin Cavalier 2018-07-13 18:31:41 -04:00
parent 71c7f40521
commit cb4ca78fbf

View File

@ -32,10 +32,10 @@ __FBSDID("$FreeBSD: releng/11.1/sys/net80211/ieee80211_power.c 297405 2016-03-30
#include "opt_wlan.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/socket.h>
#include <net/if.h>
@ -612,10 +612,12 @@ ieee80211_sta_ps_timer_check(struct ieee80211vap *vap)
if (vap->iv_state != IEEE80211_S_RUN)
goto out;
#ifndef __HAIKU__
IEEE80211_DPRINTF(vap, IEEE80211_MSG_POWER,
"%s: lastdata=%llu, ticks=%llu\n",
__func__, (unsigned long long) ic->ic_lastdata,
(unsigned long long) ticks);
#endif
/* If powersave is disabled on the VAP, don't bother */
if (! (vap->iv_flags & IEEE80211_F_PMGTON))