diff options
-rw-r--r-- | sys/net80211/ieee80211_hostap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 7f28f4f..c0a99a1 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 |