wpa_supplicant fails to find the NDIS adapter names

Scot Hetzel swhetzel at gmail.com
Thu Mar 30 14:35:28 UTC 2006


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.


More information about the freebsd-current mailing list