diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-06-24 17:59:10 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-06-24 17:59:10 +0000 |
commit | 2447c009aad7998328fdae0b70ef9c50ac808a55 (patch) | |
tree | 774bfe0e4eb6917da5ef8fd9459655ef5dc79e28 /sys | |
parent | 9511f026ce5bde5b44128932422174f200fb5b56 (diff) |
oops. don't initialize wi_flags and wi_hostap_info here; fixes sparc.
somehow i didn't commit this. from denver airport.
Diffstat (limited to 'sys')
-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); |