WifiStateMachineTest: Use CountDownLatch to await startup

This avoids possible test flake if sync.wait() returns early
due to spurious wakeups before mP2PThread completes setup.

Change-Id: I77fd6da45af76cc92a46e2706a899cd9fd9d626b
Fixes: 29831467
1 file changed
tree: 343178e4f72a233442d9196b2d26783595106939
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/