Author: pluknet
Date: Tue Jan 10 19:28:40 2017
New Revision: 311887
URL: https://svnweb.freebsd.org/changeset/base/311887

Log:
  Fix build without IEEE80211_DEBUG.
  
  Reported by:  many

Modified:
  head/sys/net80211/ieee80211_vht.c

Modified: head/sys/net80211/ieee80211_vht.c
==============================================================================
--- head/sys/net80211/ieee80211_vht.c   Tue Jan 10 19:26:55 2017        
(r311886)
+++ head/sys/net80211/ieee80211_vht.c   Tue Jan 10 19:28:40 2017        
(r311887)
@@ -91,11 +91,12 @@ vht_recv_action_placeholder(struct ieee8
     const uint8_t *frm, const uint8_t *efrm)
 {
 
+#ifdef IEEE80211_DEBUG
        ieee80211_note(ni->ni_vap, "%s: called; fc=0x%.2x/0x%.2x",
            __func__,
            wh->i_fc[0],
            wh->i_fc[1]);
-
+#endif
        return (0);
 }
 
@@ -104,10 +105,12 @@ vht_send_action_placeholder(struct ieee8
     int category, int action, void *arg0)
 {
 
+#ifdef IEEE80211_DEBUG
        ieee80211_note(ni->ni_vap, "%s: called; category=%d, action=%d",
            __func__,
            category,
            action);
+#endif
        return (EINVAL);
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to