diff options
author | 2002-06-24 17:59:09 +0000 | |
---|---|---|
committer | 2002-06-24 17:59:09 +0000 | |
commit | c1379aa60c27ed88b0d60b895f8fcae99dd35553 (patch) | |
tree | fdd324b5949786de1b56a2fed800e1690f1df52e | |
parent | explicit (u_int) for uid and gid (diff) | |
download | wireguard-openbsd-c1379aa60c27ed88b0d60b895f8fcae99dd35553.tar.xz wireguard-openbsd-c1379aa60c27ed88b0d60b895f8fcae99dd35553.zip |
oops. don't initialize wi_flags and wi_hostap_info here; fixes sparc.
somehow i didn't commit this. from denver airport.
-rw-r--r-- | sys/dev/ic/if_wi.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c index 96a0dca5091..2fa9c39a225 100644 --- a/sys/dev/ic/if_wi.c +++ b/sys/dev/ic/if_wi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi.c,v 1.72 2002/06/22 16:14:14 fgsch Exp $ */ +/* $OpenBSD: if_wi.c,v 1.73 2002/06/24 17:59:09 fgsch Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -124,7 +124,7 @@ u_int32_t widebug = WIDEBUG; #if !defined(lint) && !defined(__OpenBSD__) static const char rcsid[] = - "$OpenBSD: if_wi.c,v 1.72 2002/06/22 16:14:14 fgsch Exp $"; + "$OpenBSD: if_wi.c,v 1.73 2002/06/24 17:59:09 fgsch Exp $"; #endif /* lint */ #ifdef foo @@ -187,9 +187,6 @@ wi_attach(sc) struct ifnet *ifp; int error; - sc->wi_flags = 0; - sc->wi_hostap_info.apflags = 0; - wi_cor_reset(sc); wi_reset(sc); |