diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-05-31 19:27:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-05-31 19:27:41 +0000 |
commit | 3ec54c24259abcb49a543e56a28e52d3667e1478 (patch) | |
tree | 0af8246c5868b6fe4588d05160ee23f2ffc704f7 /sys/dev/ic/if_wi.c | |
parent | 681c6d45b4720a6eafd6726877f0522ff12717a9 (diff) |
Allow IBSS creation on Symbol cards with station firmware >= 2.5
From John Hay via Warner Losh
Diffstat (limited to 'sys/dev/ic/if_wi.c')
-rw-r--r-- | sys/dev/ic/if_wi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c index 78ff7489da5..e64e95c7c47 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.60 2002/04/30 22:56:33 mickey Exp $ */ +/* $OpenBSD: if_wi.c,v 1.61 2002/05/31 19:27:40 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.60 2002/04/30 22:56:33 mickey Exp $"; + "$OpenBSD: if_wi.c,v 1.61 2002/05/31 19:27:40 millert Exp $"; #endif /* lint */ #ifdef foo @@ -270,9 +270,10 @@ wi_attach(sc) break; case WI_SYMBOL: sc->wi_flags |= WI_FLAGS_HAS_DIVERSITY; - /* XXX - Symbol does not seem to support IBSS creation. */ if (sc->sc_sta_firmware_ver >= 20000) sc->wi_flags |= WI_FLAGS_HAS_IBSS; + if (sc->sc_sta_firmware_ver >= 25000) + sc->wi_flags |= WI_FLAGS_HAS_CREATE_IBSS; sc->wi_ibss_port = htole16(4); break; } |