diff --git a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c index cec6b07ef2..0a63e41481 100644 --- a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c +++ b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c @@ -32,10 +32,10 @@ __FBSDID("$FreeBSD: releng/11.1/sys/net80211/ieee80211_power.c 297405 2016-03-30 #include "opt_wlan.h" #include -#include +#include #include #include - + #include #include @@ -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))