Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 If WEP is on, set a data packet's WEP flag when...
details: https://anonhg.NetBSD.org/src/rev/b9b0b34070fb
branches: trunk
changeset: 567087:b9b0b34070fb
user: dyoung <dyoung%NetBSD.org@localhost>
date: Mon May 31 11:02:55 2004 +0000
description:
If WEP is on, set a data packet's WEP flag when we 802.11-encapsulate
it. Credit: Matthew Gream.
diffstat:
sys/net80211/ieee80211_output.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 68371d96b553 -r b9b0b34070fb sys/net80211/ieee80211_output.c
--- a/sys/net80211/ieee80211_output.c Mon May 31 10:49:32 2004 +0000
+++ b/sys/net80211/ieee80211_output.c Mon May 31 11:02:55 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211_output.c,v 1.12 2004/04/30 23:58:17 dyoung Exp $ */
+/* $NetBSD: ieee80211_output.c,v 1.13 2004/05/31 11:02:55 dyoung Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@@ -35,7 +35,7 @@
#ifdef __FreeBSD__
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_output.c,v 1.10 2004/04/02 23:25:39 sam Exp $");
#else
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_output.c,v 1.12 2004/04/30 23:58:17 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_output.c,v 1.13 2004/05/31 11:02:55 dyoung Exp $");
#endif
#include "opt_inet.h"
@@ -245,6 +245,8 @@
case IEEE80211_M_MONITOR:
goto bad;
}
+ if (ic->ic_flags & IEEE80211_F_WEPON)
+ wh->i_fc[1] |= IEEE80211_FC1_WEP;
*pni = ni;
return m;
bad:
Home |
Main Index |
Thread Index |
Old Index