Date: Tue, 10 Jan 2017 15:14:59 -0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: Sergey Kandaurov <pluknet@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r311887 - head/sys/net80211 Message-ID: <CAJ-VmonCn467U7iH2Mkj-gOXhBEAtR0H8eKG6ibwXXVM8_H1sA@mail.gmail.com> In-Reply-To: <201701101928.v0AJSeqN040525@repo.freebsd.org> References: <201701101928.v0AJSeqN040525@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! (I should make a debug vap printf that doesn't include the MAC/node requirements so this stuff is easier..) -adrian On 10 January 2017 at 11:28, Sergey Kandaurov <pluknet@freebsd.org> wrote: > 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?CAJ-VmonCn467U7iH2Mkj-gOXhBEAtR0H8eKG6ibwXXVM8_H1sA>