summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_crypto_bip.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-11-09 14:14:33 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-11-09 14:14:33 +0000
commitd88cc6469042c405baedcb17b7058f99c72287c2 (patch)
treef562b108426adf6be5f524205424d1883bbb4cc5 /sys/net80211/ieee80211_crypto_bip.c
parent1d8b1ac67aa3da258b770c8cbe93971237189152 (diff)
M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers for
m_leadingspace() and m_trailingspace(). Convert all callers to call directly the functions and remove the defines. OK krw@, mpi@
Diffstat (limited to 'sys/net80211/ieee80211_crypto_bip.c')
-rw-r--r--sys/net80211/ieee80211_crypto_bip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_crypto_bip.c b/sys/net80211/ieee80211_crypto_bip.c
index 8dc83a8a7c8..a6015496220 100644
--- a/sys/net80211/ieee80211_crypto_bip.c
+++ b/sys/net80211/ieee80211_crypto_bip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_crypto_bip.c,v 1.9 2017/05/02 17:07:06 mikeb Exp $ */
+/* $OpenBSD: ieee80211_crypto_bip.c,v 1.10 2018/11/09 14:14:31 claudio Exp $ */
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
@@ -115,7 +115,7 @@ ieee80211_bip_encap(struct ieee80211com *ic, struct mbuf *m0,
m = m0;
/* reserve trailing space for MMIE */
- if (M_TRAILINGSPACE(m) < IEEE80211_MMIE_LEN) {
+ if (m_trailingspace(m) < IEEE80211_MMIE_LEN) {
MGET(m->m_next, M_DONTWAIT, m->m_type);
if (m->m_next == NULL)
goto nospace;