From owner-freebsd-mobile Mon Jan 8 14: 4:59 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from assaris.sics.se (ASTRAL-VINE.MIT.EDU [18.101.1.27]) by hub.freebsd.org (Postfix) with ESMTP id B9A5737B6C1 for ; Mon, 8 Jan 2001 13:25:18 -0800 (PST) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id WAA02494; Mon, 8 Jan 2001 22:25:14 +0100 (CET) (envelope-from assar) To: Lyndon Nerenberg Cc: mobile@FreeBSD.ORG Subject: Re: Lucent Wavelan and 4.2 works like a charm. References: <200101082028.f08KSHm96103@orthanc.ab.ca> From: Assar Westerlund Date: 08 Jan 2001 22:25:13 +0100 In-Reply-To: Lyndon Nerenberg's message of "Mon, 08 Jan 2001 13:28:17 -0700" Message-ID: <5lae91zqh2.fsf@assaris.sics.se> Lines: 35 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Lyndon Nerenberg writes: > The last instance was when I used the wi driver in mid-December (IETF). > This was with -STABLE supped and built during the IETF. This is confusing since to my reading the empty string has been the default since if_wireg.h:1.7. > The last time I used the an driver was at the Pittsburgh IETF (August?), > again with -STABLE not more than a few days old at the time. The an driver seems to still use "ANY". I assume that it should be the empty string for this driver too but I have no cards to test with. Could someone verify that the following (trivial) patch does the right thing. /assar Index: if_anreg.h =================================================================== RCS file: /home/ncvs/src/sys/dev/an/if_anreg.h,v retrieving revision 1.4 diff -u -w -u -w -r1.4 if_anreg.h --- if_anreg.h 2000/12/08 19:00:10 1.4 +++ if_anreg.h 2001/01/08 21:24:53 @@ -34,8 +34,8 @@ #define AN_TIMEOUT 65536 -/* Default network name: ANY */ -#define AN_DEFAULT_NETNAME "ANY" +/* Default network name: empty string implies any */ +#define AN_DEFAULT_NETNAME "" /* The nodename must be less than 16 bytes */ #define AN_DEFAULT_NODENAME "FreeBSD" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message