Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 10:55:36 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283986 - head/sys/net80211
Message-ID:  <201506041055.t54AtaUD097445@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Jun  4 10:55:36 2015
New Revision: 283986
URL: https://svnweb.freebsd.org/changeset/base/283986

Log:
  Fix the build by hiding ieee80211_add_xmit_params and
  ieee80211_get_xmit_params from userspace.

Modified:
  head/sys/net80211/ieee80211_freebsd.h

Modified: head/sys/net80211/ieee80211_freebsd.h
==============================================================================
--- head/sys/net80211/ieee80211_freebsd.h	Thu Jun  4 08:05:44 2015	(r283985)
+++ head/sys/net80211/ieee80211_freebsd.h	Thu Jun  4 10:55:36 2015	(r283986)
@@ -610,6 +610,7 @@ struct ieee80211_bpf_params {
 	uint8_t		ibp_rate3;	/* series 4 IEEE tx rate */
 };
 
+#ifdef _KERNEL
 struct ieee80211_tx_params {
 	struct ieee80211_bpf_params params;
 };
@@ -617,6 +618,7 @@ int	ieee80211_add_xmit_params(struct mbu
 	    const struct ieee80211_bpf_params *);
 int	ieee80211_get_xmit_params(struct mbuf *m,
 	    struct ieee80211_bpf_params *);
+#endif /* _KERNEL */
 
 /*
  * Malloc API.  Other BSD operating systems have slightly



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506041055.t54AtaUD097445>