summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-05 13:55:33 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-05 13:55:33 +0000
commite5889b57234976ecb96186d7d5596725bc126b75 (patch)
treee02e4c80e4ca5a1dda3b162c8abfc3a3a8a231b1 /sys/net80211
parent1384b62c4ba2ec9807b625311f416059f3a7aac0 (diff)
downloadFreeBSD-src-e5889b57234976ecb96186d7d5596725bc126b75.zip
FreeBSD-src-e5889b57234976ecb96186d7d5596725bc126b75.tar.gz
Fix spelling of MAC check for 8.x version of MAC Framework, not noticed due
to a lack of an opt_mac.h include, which I won't add for now as options MAC will soon move to opt_global.h. Spotted by: pjd
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_output.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 602ab7a..42157a0 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -62,6 +62,8 @@ __FBSDID("$FreeBSD$");
#include <netinet/ip.h>
#endif
+#include <security/mac/mac_framework.h>
+
#define ETHER_HEADER_COPY(dst, src) \
memcpy(dst, src, sizeof(struct ether_header))
@@ -354,7 +356,7 @@ ieee80211_output(struct ifnet *ifp, struct mbuf *m,
if (dst->sa_family != AF_IEEE80211)
return vap->iv_output(ifp, m, dst, ro);
#ifdef MAC
- error = mac_check_ifnet_transmit(ifp, m);
+ error = mac_ifnet_check_transmit(ifp, m);
if (error)
senderr(error);
#endif
OpenPOWER on IntegriCloud