Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Don't set a frame's WEP bits, the 802.11 layer al...



details:   https://anonhg.NetBSD.org/src/rev/16711cf35404
branches:  trunk
changeset: 567094:16711cf35404
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Mon May 31 11:42:00 2004 +0000

description:
Don't set a frame's WEP bits, the 802.11 layer already has.

diffstat:

 sys/dev/ic/wi.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 81b63899f8e6 -r 16711cf35404 sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c   Mon May 31 11:40:56 2004 +0000
+++ b/sys/dev/ic/wi.c   Mon May 31 11:42:00 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wi.c,v 1.159 2004/03/26 06:43:25 dyoung Exp $  */
+/*     $NetBSD: wi.c,v 1.160 2004/05/31 11:42:00 dyoung Exp $  */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.159 2004/03/26 06:43:25 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.160 2004/05/31 11:42:00 dyoung Exp $");
 
 #define WI_HERMES_AUTOINC_WAR  /* Work around data write autoinc bug. */
 #define WI_HERMES_STATS_WAR    /* Work around stats counter bug. */
@@ -987,8 +987,6 @@
                                continue;
                        }
                         wh = mtod(m0, struct ieee80211_frame *);
-                       if (ic->ic_flags & IEEE80211_F_WEPON)
-                               wh->i_fc[1] |= IEEE80211_FC1_WEP;
                        if (ic->ic_opmode == IEEE80211_M_HOSTAP &&
                            !IEEE80211_IS_MULTICAST(wh->i_addr1) &&
                            (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==



Home | Main Index | Thread Index | Old Index