[haiku-commits] haiku: hrev52207 - src/libs/compat/freebsd11_wlan/net80211

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 11 Aug 2018 12:29:16 -0400 (EDT)

hrev52207 adds 1 changeset to branch 'master'
old head: 3bd0b6ec8105c293cb54e1e22e201ea2cbab5d44
new head: eef7e3f1f85d9ac4104b11256064c938a1ba9cc1
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=eef7e3f1f85d+%5E3bd0b6ec8105

----------------------------------------------------------------------------

eef7e3f1f85d: freebsd11_wlan: Turn debugging level down a bit.
  
  Should fix the first part of #1431.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52207
Commit:      eef7e3f1f85d9ac4104b11256064c938a1ba9cc1
URL:         https://git.haiku-os.org/haiku/commit/?id=eef7e3f1f85d
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Sat Aug 11 16:27:53 2018 UTC

Ticket:      https://dev.haiku-os.org/ticket/1431

----------------------------------------------------------------------------

2 files changed, 1 insertion(+), 5 deletions(-)
src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp | 4 +---
src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c   | 2 --

----------------------------------------------------------------------------

diff --git a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp 
b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp
index 3b3cf9d509..6ef18cde31 100644
--- a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp
+++ b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_haiku.cpp
@@ -692,12 +692,10 @@ ieee80211_sysctl_vattach(struct ieee80211vap* vap)
                | IEEE80211_MSG_ASSOC
                | IEEE80211_MSG_AUTH
                | IEEE80211_MSG_STATE
-               | IEEE80211_MSG_POWER
                | IEEE80211_MSG_WME
                | IEEE80211_MSG_DOTH
                | IEEE80211_MSG_INACT
-               | IEEE80211_MSG_ROAM
-               | IEEE80211_MSG_RATECTL;
+               | IEEE80211_MSG_ROAM;
 }
 
 
diff --git a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c 
b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c
index 0a63e41481..b502ce96f1 100644
--- a/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c
+++ b/src/libs/compat/freebsd11_wlan/net80211/ieee80211_power.c
@@ -612,12 +612,10 @@ 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))


Other related posts:

  • » [haiku-commits] haiku: hrev52207 - src/libs/compat/freebsd11_wlan/net80211 - waddlesplash