freebsd11_wlan: fix ieee80211_realign signature and the debug build.

This commit is contained in:
Jérôme Duval 2018-07-23 22:23:58 +02:00
parent a27099f559
commit 34a10069f4

View File

@ -492,7 +492,7 @@ ieee80211_flush_ifq(struct ifqueue* ifq, struct ieee80211vap* vap)
* Re-align the payload in the mbuf. This is mainly used (right now) * Re-align the payload in the mbuf. This is mainly used (right now)
* to handle IP header alignment requirements on certain architectures. * to handle IP header alignment requirements on certain architectures.
*/ */
struct mbuf * extern "C" struct mbuf *
ieee80211_realign(struct ieee80211vap *vap, struct mbuf *m, size_t align) ieee80211_realign(struct ieee80211vap *vap, struct mbuf *m, size_t align)
{ {
int pktlen, space; int pktlen, space;