Source-Changes-HG archive

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

[src/trunk]: src/sys/net80211 Do that replacement in one more place.



details:   https://anonhg.NetBSD.org/src/rev/a9594c937695
branches:  trunk
changeset: 554066:a9594c937695
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Oct 25 03:18:37 2003 +0000

description:
Do that replacement in one more place.

diffstat:

 sys/net80211/ieee80211_input.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 963cf2da2508 -r a9594c937695 sys/net80211/ieee80211_input.c
--- a/sys/net80211/ieee80211_input.c    Sat Oct 25 03:14:33 2003 +0000
+++ b/sys/net80211/ieee80211_input.c    Sat Oct 25 03:18:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_input.c,v 1.11 2003/10/25 01:17:39 mycroft Exp $     */
+/*     $NetBSD: ieee80211_input.c,v 1.12 2003/10/25 03:18:37 mycroft 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_input.c,v 1.8 2003/08/19 22:17:03 sam Exp $");
 #else
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.11 2003/10/25 01:17:39 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.12 2003/10/25 03:18:37 mycroft Exp $");
 #endif
 
 #include "opt_inet.h"
@@ -594,7 +594,8 @@
        int allocbs;
        switch (ic->ic_opmode) {
        case IEEE80211_M_IBSS:
-               if (ic->ic_state != IEEE80211_S_RUN || seq != 1)
+               if (ic->ic_state != IEEE80211_S_RUN ||
+                   seq != IEEE80211_AUTH_OPEN_REQUEST)
                        return;
                ieee80211_new_state(ic, IEEE80211_S_AUTH,
                    wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK);



Home | Main Index | Thread Index | Old Index