Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/net Pull up 802.11 stuff (approved by jhawk)



details:   https://anonhg.NetBSD.org/src/rev/3d44a6016e74
branches:  netbsd-1-5
changeset: 488616:3d44a6016e74
user:      onoe <onoe%NetBSD.org@localhost>
date:      Fri Jul 21 18:49:22 2000 +0000

description:
Pull up 802.11 stuff (approved by jhawk)
- check priviledge for SIOCS80211NWID
        syssrc/sys/dev/ic/awi.c                         1.23, 1.25
        syssrc/sys/net/if.c                             1.66

diffstat:

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

diffs (26 lines):

diff -r 841a0f662057 -r 3d44a6016e74 sys/net/if.c
--- a/sys/net/if.c      Fri Jul 21 18:47:29 2000 +0000
+++ b/sys/net/if.c      Fri Jul 21 18:49:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.62 2000/04/26 13:38:13 bouyer Exp $   */
+/*     $NetBSD: if.c,v 1.62.4.1 2000/07/21 18:49:22 onoe Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -121,6 +121,8 @@
 
 #include <net/if.h>
 #include <net/if_dl.h>
+#include <net/if_ether.h>
+#include <net/if_ieee80211.h>
 #include <net/if_types.h>
 #include <net/radix.h>
 #include <net/route.h>
@@ -937,6 +939,7 @@
                break;
 
        case SIOCSDRVSPEC:  
+       case SIOCS80211NWID:
                /* XXX:  need to pass proc pointer through to driver... */
                if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
                        return (error);



Home | Main Index | Thread Index | Old Index