Remove the blocking wait for IpClient
at boot time, IpClient may take a very long time (many minutes) to start, especially after NetworkStack update.
but after that, IpClient should start pretty quickly (a few seconds)
- Blocking wait for 5 seconds first (for when the wait is short)
- If IpClient is still not ready after blocking wait, async wait (for when wait is long). Will drop all connection requests until IpClient is ready. Other requests will still be processed.
Bug: 186393002
Test: atest com.android.server.wifi
Change-Id: I5b6d88c6a42df8428b4c1c558ca4be20065e43f0
2 files changed