diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-10-11 13:07:03 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-10-11 13:07:03 +0000 |
commit | 9ec43e1e0f0b320a28965c4191762efbc35fc204 (patch) | |
tree | 8f995b34f27d3c283f68b3eac27363b7b66449f9 | |
parent | 87487d7b54bac7aef8877ef71eee5f8920679a1b (diff) |
Eliminate use of M_HASFCS.
From thorpej NetBSD
ok jsg@
-rw-r--r-- | sys/dev/ic/atw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c index aefcb7226a3..231b109fcc6 100644 --- a/sys/dev/ic/atw.c +++ b/sys/dev/ic/atw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atw.c,v 1.40 2005/09/24 11:19:14 jsg Exp $ */ +/* $OpenBSD: atw.c,v 1.41 2005/10/11 13:07:02 brad Exp $ */ /* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */ /*- @@ -3174,7 +3174,7 @@ atw_rxintr(struct atw_softc *sc) ifp->if_ipackets++; if (sc->sc_opmode & ATW_NAR_PR) - m->m_flags |= M_HASFCS; + len -= IEEE80211_CRC_LEN; m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = MIN(m->m_ext.ext_size, len); |