Date: Thu, 30 Mar 2006 08:35:26 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: freebsd-current@freebsd.org Cc: wpaul@freebsd.org, sam@freebsd.org Subject: Re: wpa_supplicant fails to find the NDIS adapter names Message-ID: <790a9fff0603300635p6b70cebbw89e26a2b73aa06f8@mail.gmail.com> In-Reply-To: <790a9fff0603300616y62afae4cp50b448b53112de8c@mail.gmail.com> References: <790a9fff0603300616y62afae4cp50b448b53112de8c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I just found somemore information on the PacketGetAdapterNames on the winpcap web site: http://www.winpcap.org/docs/man/html/Packet32_8c.html --- BOOLEAN PacketGetAdapterNames ( PTSTR pStr, PULONG BufferSize ) Retrieve the list of available network adapters and their description. Parameters: pStr User allocated string that will be filled with the names of the adapters. BufferSize Length of the buffer pointed by pStr. Returns: If the function succeeds, the return value is nonzero. --- So we do need to replace the EIO, ENOSPC, ENOMEM with FALSE, and the last return with TRUE in src/usr.sbin/wpa/wpa_supplicant/Packet32.c for the PacketGetAdapterNames routine. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0603300635p6b70cebbw89e26a2b73aa06f8>