[RFC] wpa_supplicant: Don't terminate until all wps callbacks complete.

Ben Greear greearb at candelatech.com
Mon Feb 21 16:15:59 EST 2011


On 02/21/2011 11:52 AM, Jouni Malinen wrote:
> On Wed, Feb 16, 2011 at 01:21:57PM -0800, Ben Greear wrote:
>> I'm not sure this fixes any real problem, but seems cleaner.
>
> Thanks, applied. It does indeed fix a small issue in the case where more
> than one interface has an active WPS ER when wpa_supplicant process is
> being killed. I cannot really come up with a realistic use case for
> this, but well, it is possible to construct such a test and see some of
> the resources not being cleaned up before the process dies. I'm a bit
> curious to hear how you ended up find this, though. ;-)

I was grubbing through code looking for funky-ness on shutdown,
but my main problem was copying over shared libraries as I wrote
about previously :)

This change looked correct to me, but it had no obvious
impact on any test case I ran.

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the HostAP mailing list