lib_wpa_client: making it thread safe?
Mon Jun 3 04:58:42 PDT 2013
On Mon, Jun 3, 2013 at 3:09 PM, Jouni Malinen <j at w1.fi> wrote:
> > On Android platform though, the framework (which I believe is multi-threaded) is linked with libhardware_legacy (native library used for the HAL), itself linked with lib_wpa_client. During some monkey testing on our platform, we've seen different random crashes in lib_wpa_client, because no locking was used by the framework to use this interface.
> This is a known issue with Android and should be fixed (and have been
> fixed in some branches, I'd assume) to not misuse wpa_ctrl.c functions,
> i.e., mainly to not close the connection while there is a pending
A similar crash issue was fixed with this:
Please check if you have the above patch.
More information about the Hostap