Abort scan before connection
In the past, supplicant would abort any ongoing scan before
issuing a connection or roaming request.
For Android O we issue scans using wificond, so supplicant doesn't
know about ongoing scan issued by wificond.
As a result, we may have regression that connection request may be
delayed because device is waiting for ongoing scan to finish.
This patch adds back the logic at framework level, fixing the potential
regression.
Bug: 37743832
Test: compile, unit tests, integration test, manual test
Change-Id: I556c7561d39a9d0b91399d5b3348256bcf0943c8
4 files changed