[PATCH] wpa_supplicant FreeBSD compatibility

Jouni Malinen jkmaline
Sat Dec 30 19:29:33 PST 2006

On Wed, Dec 20, 2006 at 01:18:49PM +0100, Jouke Witteveen wrote:

> I believe to have made a FreeBSD compatible version of
> wpa_supplicant's wired driver. Included are two patches. One for
> v0.4.8 (probably works for v0.4.9 as well) and one for v0.5.6.
> Please take a quick look and include them in the official tree.

Thanks! I applied this with couple of changes into 0.6 and 0.5 branches.

> Known bugs:
> - when no traffic is received over the multicast address SIOCDELMULTI
> throws in a ENOENT ("No such file or directory"). I believe this is
> normal; mtest yields it too.

OK, that's fine.

> - #ifndef __linux__ is used to check wether we are compiling for BSD.
> This is not too elegant (it works though).

Yes.. I changed this to be #ifdef __linux__ for Linux specific parts and
#ifdef __FreeBSD__ for FreeBSD specific..

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list