diff options
Diffstat (limited to 'sys/dev/pcmcia/if_malo.c')
-rw-r--r-- | sys/dev/pcmcia/if_malo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_malo.c b/sys/dev/pcmcia/if_malo.c index 2dea5c9c840..a10e5667d54 100644 --- a/sys/dev/pcmcia/if_malo.c +++ b/sys/dev/pcmcia/if_malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_malo.c,v 1.29 2007/08/01 11:30:22 mglocker Exp $ */ +/* $OpenBSD: if_malo.c,v 1.30 2007/08/02 10:59:31 claudio Exp $ */ /* * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> @@ -860,6 +860,7 @@ cmalo_rx(struct malo_softc *sc) } m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = rxdesc->pkglen; + m->m_data += ETHER_ALIGN; data = mtod(m, uint8_t *); bcopy(sc->sc_data + rxdesc->pkgoffset, data, m->m_pkthdr.len); |