svn commit: r283986 - head/sys/net80211

Andrew Turner andrew at FreeBSD.org
Thu Jun 4 10:55:37 UTC 2015


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


More information about the svn-src-all mailing list