Source-Changes-HG archive

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

[src/trunk]: src/sys/net rename WI_ ioctl to make it compile again



details:   https://anonhg.NetBSD.org/src/rev/795a7a47f0d1
branches:  trunk
changeset: 535158:795a7a47f0d1
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sun Aug 11 12:08:55 2002 +0000

description:
rename WI_ ioctl to make it compile again

diffstat:

 sys/net/if_ieee80211subr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5347f39e3e47 -r 795a7a47f0d1 sys/net/if_ieee80211subr.c
--- a/sys/net/if_ieee80211subr.c        Sun Aug 11 12:04:25 2002 +0000
+++ b/sys/net/if_ieee80211subr.c        Sun Aug 11 12:08:55 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ieee80211subr.c,v 1.8 2002/08/05 06:55:06 onoe Exp $        */
+/*     $NetBSD: if_ieee80211subr.c,v 1.9 2002/08/11 12:08:55 drochner Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ieee80211subr.c,v 1.8 2002/08/05 06:55:06 onoe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ieee80211subr.c,v 1.9 2002/08/11 12:08:55 drochner Exp $");
 
 #include "opt_inet.h"
 #include "bpfilter.h"
@@ -2161,7 +2161,7 @@
                    htole16((ic->ic_flags & IEEE80211_F_HASWEP) ? 1 : 0);
                wreq.wi_len = 1;
                break;
-       case WI_RID_AUTH_CNTL:
+       case WI_RID_CNFAUTHMODE:
                wreq.wi_val[0] = htole16(1);    /* TODO: open system only */
                wreq.wi_len = 1;
                break;
@@ -2447,7 +2447,7 @@
                return EPERM;
        case WI_RID_WEP_AVAIL:
                return EPERM;
-       case WI_RID_AUTH_CNTL:
+       case WI_RID_CNFAUTHMODE:
                if (wreq.wi_len != 1)
                        return EINVAL;
                if (le16toh(wreq.wi_val[0]) != 1)



Home | Main Index | Thread Index | Old Index