diff options
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index bdae5b77e57..82cddf5f0a8 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_input.c,v 1.122 2012/10/12 19:53:24 haesbaert Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.123 2013/06/11 18:15:53 deraadt Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -1047,7 +1047,7 @@ ieee80211_amsdu_decap(struct ieee80211com *ic, struct mbuf *m, /* convert to Ethernet II header */ eh->ether_type = llc->llc_snap.ether_type; /* strip LLC+SNAP headers */ - ovbcopy(eh, (u_int8_t *)eh + LLC_SNAPFRAMELEN, + memmove((u_int8_t *)eh + LLC_SNAPFRAMELEN, eh, ETHER_HDR_LEN); m_adj(m, LLC_SNAPFRAMELEN); len -= LLC_SNAPFRAMELEN; |