From 9ec43e1e0f0b320a28965c4191762efbc35fc204 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 11 Oct 2005 13:07:03 +0000 Subject: Eliminate use of M_HASFCS. From thorpej NetBSD ok jsg@ --- sys/dev/ic/atw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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); -- cgit v1.2.3