diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-30 20:23:29 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-30 20:23:29 +0000 |
commit | 636e134204e00f45a33b16b948d819628a5ad9c2 (patch) | |
tree | 90b6fb56fad257224e1f2393ed0bebbc3e68a917 /sys | |
parent | fb5ca0affaaa7c0205250a60b6be3363fc85289a (diff) |
WI_RID_SUPPORT_RATE only seems to work for prism2. On lucent boards
it only indicates support for the lowest speed which is not what we want.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/if_wi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c index eceae6d4751..5a60eb4038c 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.30 2002/03/30 20:18:45 mickey Exp $ */ +/* $OpenBSD: if_wi.c,v 1.31 2002/03/30 20:23:28 millert 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.30 2002/03/30 20:18:45 mickey Exp $"; + "$OpenBSD: if_wi.c,v 1.31 2002/03/30 20:23:28 millert Exp $"; #endif /* lint */ #ifdef foo @@ -255,8 +255,7 @@ wi_attach(sc, print_cis) bzero((char *)&sc->wi_stats, sizeof(sc->wi_stats)); - /* Find supported rates. - */ + /* Find supported rates (appears to be prism2 only) */ gen.wi_type = WI_RID_SUPPORT_RATE; gen.wi_len = 2; if (!sc->sc_prism2 || wi_read_record(sc, &gen)) |