Re: wpa_supplicant fails to find the NDIS adapter names

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Thu, 30 Mar 2006 08:35:26 -0600
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.
Received on Thu Mar 30 2006 - 12:35:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC