diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 7f28f4fe945..c0a99a12dbf 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -319,7 +319,7 @@ hostap_deliver_data(struct ieee80211vap *vap, struct mbuf *mcopy = NULL; if (m->m_flags & M_MCAST) { - mcopy = m_copypacket(m, M_DONTWAIT); + mcopy = m_dup(m, M_DONTWAIT); if (mcopy == NULL) ifp->if_oerrors++; else