Date: Fri, 10 Dec 2004 22:26:34 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 66791 for review Message-ID: <200412102226.iBAMQY5N098414@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=66791 Change 66791 by sam@sam_ebb on 2004/12/10 22:26:09 clear WEP bit in 802.11 header after crypto decap so tcpdump et. al. are not confused Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_input.c#27 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_input.c#27 (text+ko) ==== @@ -408,6 +408,7 @@ goto out; } wh = mtod(m, struct ieee80211_frame *); + wh->i_fc[1] &= ~IEEE80211_FC1_WEP; } else { key = NULL; } @@ -585,6 +586,7 @@ /* NB: stats+msgs handled in crypto_decap */ goto out; } + wh->i_fc[1] &= ~IEEE80211_FC1_WEP; } if (ic->ic_rawbpf) bpf_mtap(ic->ic_rawbpf, m);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412102226.iBAMQY5N098414>