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