Date: Tue, 10 Jan 2017 19:28:40 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r311887 - head/sys/net80211 Message-ID: <201701101928.v0AJSeqN040525@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701101928.v0AJSeqN040525>