Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic No need for ath_start to set the WEP bit in the f...



details:   https://anonhg.NetBSD.org/src/rev/2087f7ce75eb
branches:  trunk
changeset: 567091:2087f7ce75eb
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Mon May 31 11:39:39 2004 +0000

description:
No need for ath_start to set the WEP bit in the frame header, the
802.11 layer does it for us.

diffstat:

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

diffs (27 lines):

diff -r 4fa35e421479 -r 2087f7ce75eb sys/dev/ic/ath.c
--- a/sys/dev/ic/ath.c  Mon May 31 11:28:48 2004 +0000
+++ b/sys/dev/ic/ath.c  Mon May 31 11:39:39 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ath.c,v 1.26 2004/05/25 04:38:36 atatat Exp $  */
+/*     $NetBSD: ath.c,v 1.27 2004/05/31 11:39:39 dyoung Exp $  */
 
 /*-
  * Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
@@ -41,7 +41,7 @@
 __FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.54 2004/04/05 04:42:42 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.26 2004/05/25 04:38:36 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.27 2004/05/31 11:39:39 dyoung Exp $");
 #endif
 
 /*
@@ -1173,8 +1173,6 @@
                                goto bad;
                        }
                        wh = mtod(m, struct ieee80211_frame *);
-                       if (ic->ic_flags & IEEE80211_F_WEPON)
-                               wh->i_fc[1] |= IEEE80211_FC1_WEP;
                } else {
                        /*
                         * Hack!  The referenced node pointer is in the



Home | Main Index | Thread Index | Old Index