[PATCH] Mac OS X: Fix driver_osx.c build
Jouni Malinen
j
Fri Dec 18 11:28:46 PST 2009
On Mon, Dec 14, 2009 at 09:12:26AM +0900, Masashi Honma wrote:
> On Mac OS X 10.6, driver_osx.c build fails with message below.
> ../src/drivers/driver_osx.m:161: warning: ?struct wpa_scan_result? declared inside parameter list
> I made a patch.
Thanks! Applied. Looks like I missed this when updating the driver
wrappers since OS X code is in *.m and I only searched for *.c.. Well
anyway, it is at least compiling now.
> WirelessAttach: IOServiceOpen error: e00002c7
> OSX: WirelessAttach failed: -2013261827
> Failed to initialize driver interface
> Failed to add interface en1
> I have googled the Apple proprietary library error measseges
> and I guessed this is a matter on Snow Leopard (Mac OS X 10.6).
> As far as I know, there is not any document about the new library.
> (I am a member of Apple developer connection.) So I can't debug
> this any more. This patch solves compilation error only.
Looks like the API has changed at some point. The original code was
added for OS X 10.4 and it is not like there was much documentation
available for that and I would not be surprised if that is still the
case, so for the time being, this is unlikely to work with the latest OS
version.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list