Source-Changes-HG archive

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

[src/trunk]: src Clarify that the empty string, not the string ANY, as the ne...



details:   https://anonhg.NetBSD.org/src/rev/ff47cf2224ed
branches:  trunk
changeset: 474678:ff47cf2224ed
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Thu Jul 15 14:31:52 1999 +0000

description:
Clarify that the empty string, not the string ANY, as the network name means
pick any access point

diffstat:

 sys/dev/pcmcia/if_wireg.h    |  11 ++++++++---
 usr.sbin/wiconfig/wiconfig.8 |  15 +++++++++------
 2 files changed, 17 insertions(+), 9 deletions(-)

diffs (68 lines):

diff -r c2ac20c1702a -r ff47cf2224ed sys/dev/pcmcia/if_wireg.h
--- a/sys/dev/pcmcia/if_wireg.h Thu Jul 15 10:46:58 1999 +0000
+++ b/sys/dev/pcmcia/if_wireg.h Thu Jul 15 14:31:52 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wireg.h,v 1.1 1999/07/14 22:24:10 sommerfeld Exp $  */
+/*     $NetBSD: if_wireg.h,v 1.2 1999/07/15 14:33:51 sommerfeld Exp $  */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -31,7 +31,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  * THE POSSIBILITY OF SUCH DAMAGE.
  *
- *     $Id: if_wireg.h,v 1.1 1999/07/14 22:24:10 sommerfeld Exp $
+ *     $Id: if_wireg.h,v 1.2 1999/07/15 14:33:51 sommerfeld Exp $
  */
 
 /*
@@ -55,7 +55,12 @@
 #define WI_DEFAULT_TX_RATE     3
 
 /* Default network name: ANY */
-#define WI_DEFAULT_NETNAME     "ANY"
+/*
+ * [sommerfeld 1999/07/15] Changed from "ANY" to ""; according to Bill Fenner,
+ * ANY is used in MS driver user interfaces, while "" is used over the
+ * wire..
+ */
+#define WI_DEFAULT_NETNAME     ""
 
 #define WI_DEFAULT_AP_DENSITY  1
 
diff -r c2ac20c1702a -r ff47cf2224ed usr.sbin/wiconfig/wiconfig.8
--- a/usr.sbin/wiconfig/wiconfig.8      Thu Jul 15 10:46:58 1999 +0000
+++ b/usr.sbin/wiconfig/wiconfig.8      Thu Jul 15 14:31:52 1999 +0000
@@ -28,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\"    $Id: wiconfig.8,v 1.2 1999/07/14 22:43:17 sommerfeld Exp $
+.\"    $Id: wiconfig.8,v 1.3 1999/07/15 14:31:52 sommerfeld Exp $
 .\"
 .Dd April 21, 1999
 .Dt WICONFIG 8
@@ -125,15 +125,18 @@
 join. The
 .Ar network name
 can be any text string up to 30 characters in length. The default name
-is the string "ANY" which should allow the station to connect to the first
-available access point. The interface should be set for BSS mode using
+is the empty string, which should allow the station to connect to the
+first available access point.  
+Use 
+.Fl n Ar ''
+to specify an empty network name.
+The interface should be set for BSS mode using
 the
 .Fl p
 flag in order for this to work.
 .Pp
-Note: the WaveLAN manual indicates that an empty string will allow the
-host to connect to any access point, however I have also seen a reference
-in another driver which indicates that the "ANY" string works as well.
+Note that some other drivers may use the string "ANY" to reflect this
+in the driver's user interface.
 .It Fl i Ar iface Fl s Ar station name
 Sets the
 .Ar station name



Home | Main Index | Thread Index | Old Index