From owner-svn-src-head@freebsd.org Tue Jan 10 23:15:03 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8849DCA984F; Tue, 10 Jan 2017 23:15:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FBEB119D; Tue, 10 Jan 2017 23:15:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id l2so33299470wml.2; Tue, 10 Jan 2017 15:15:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vimiJXlCgOgHqAbNQMlndjXnk8Mhdkn0XIze0+ulatg=; b=r1GCWGuOAVw0ALaw59txCBykrSXILDxOPp6EDE1rP3JzyzTj4X4qEDoBNObMPER1px Vm1ae5HtEdVuB+TzZ0tMXWImrZCHj5oDyyRsPUTtA6DYCDgr6qLuaDHP0DOBIZ2uK609 F5B1NZ/NKsXXKro+EIDJWDULRuKzNuJDp7k6cag+cHalb7qAtq03FIwLrrJpBynBN5BY ix5peVhDfv4XmU59hGF9gAbW6nGmoWibvpOJsL1ORFrwRofVJ5VEvqUPMLPE/DTi4LY0 6KXFzzTZujPdO2VAcxupQeNOUeocZg3KLaDNshaz4R7pe1ZY7KdMFULRGzkjB1ABVgWp giuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vimiJXlCgOgHqAbNQMlndjXnk8Mhdkn0XIze0+ulatg=; b=pLS6BR7WRtt1zTPkTBa9cHfR/mxcOFbLPzO5qtLNaRK7Qf3uav1GUuM4jVTZXQx844 4E2wP8wRlaMpThCm3ymEbiEnob/tv+2E3dmW6z7U4viTna1phF3XAjxLvEltTlhgq5Wu hT9BcSjaT/jVkd5dqbYO2VNHghXnpOScvkvLDDivlQR9PE6M/aMN4MEssQwhVowtJSnu mTJaE8HrOfIJjmvzbtXlFDUeHdl+Y0DA/f5l5kuzECmtSz3ITFH7XpnlrMvEld8LMKWg +MUzzMcfATocKzxwGZLpVMp1OfMZ/rh1T2ntGf97tSkVFm/m6HCA+JmuGIL6lZ8RClLe 4DaA== X-Gm-Message-State: AIkVDXIMKCk4PiUAJviBj++vTmgGORAm45USdbAKRno1T//w1pCe9LEgOOgHDSMaYKpxKxq8uKKCEUmndwQGFg== X-Received: by 10.28.100.132 with SMTP id y126mr3110320wmb.116.1484090100987; Tue, 10 Jan 2017 15:15:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.82.162 with HTTP; Tue, 10 Jan 2017 15:14:59 -0800 (PST) In-Reply-To: <201701101928.v0AJSeqN040525@repo.freebsd.org> References: <201701101928.v0AJSeqN040525@repo.freebsd.org> From: Adrian Chadd Date: Tue, 10 Jan 2017 15:14:59 -0800 Message-ID: Subject: Re: svn commit: r311887 - head/sys/net80211 To: Sergey Kandaurov Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2017 23:15:03 -0000 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 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); > } > >