[PATCH 1/2] Add Android socket support for control part

Jouni Malinen j at w1.fi
Tue Oct 18 10:31:48 EDT 2011


On Mon, Feb 28, 2011 at 10:29:48AM -0800, Dmitry Shmidt wrote:
> >> + * wpa_ctrl_cleanup() - Delete any local UNIX domain socket files that

> We tried to be "generic". Wifi-control hal is calling this function
> before wpa_supplicant
> start. It can do the proposed 'rm' operation but it will mean that it
> is aware of how to
> clean wpa_supplicant possible "mess". We wanted to call the function
> that wpa_supplicant
> is providing.

I applied this now (with the hardcoded path/prefix replaced with the
CONFIG_CTRL_IFACE_CLIENT_DIR / CONFIG_CTRL_IFACE_CLIENT_PREFIX macros
similarly to the earlier change). At least for now, this is only
available for Android builds.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list