No description
Find a file
Irfan Sheriff 5a8a2d2b13 Fix system property race at supplicant stop
We stop supplicant by sending a "terminate" control command. init then
updates the system property init.svc.wpa_supplicant when the supplicant has stopped. The
framework gets notified of a successful supplicant stop through a supplicant event.

It can happen that the framework has been notified of a supplicant stop, but the init
process has not set the system property and thus when the framework tries to connect
to the supplicant again, it can immediately return saying the supplicant is already running.

Avoid this race, by ensuring the call from framework to close supplicant connection polls
for the update by init process that the system property indicates supplicant has stopped.

Bug: 5166494
Change-Id: Ie74a8cf39fa56ae557ea6bbbcba7865301620c42
2011-08-22 13:35:48 -07:00
audio AudioPolicyManager: register effect CPU on enable 2011-08-11 09:17:07 -07:00
include/hardware_legacy AudioPolicyManager: register effect CPU on enable 2011-08-11 09:17:07 -07:00
power do not actually error out when there's no kernel power interface 2010-12-03 20:51:49 -08:00
qemu Enable QEMUD pipe connection for all legacy hw-control clients 2011-08-04 13:57:57 -07:00
qemu_tracing auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00
uevent Remove the simulator target from all makefiles. 2011-07-11 22:12:24 -07:00
vibrator Add an API to find out whether there is a vibrator. 2010-11-04 12:05:45 -07:00
wifi Fix system property race at supplicant stop 2011-08-22 13:35:48 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:24 -07:00
CleanSpec.mk Fix incremental builds by adding Cleanspec step 2011-07-22 16:23:43 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00
qemu.h auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:47 -07:00