PERFORCE change 66791 for review
Sam Leffler
sam at FreeBSD.org
Fri Dec 10 14:26:36 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=66791
Change 66791 by sam at 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);
More information about the p4-projects
mailing list