Update the scan results immediately after adding the interface
After adding the newly created interface,
request the current scan results from the driver and updates
the local BSS list wpa_s->bss. This is to avoid a full scan
while processing the connect request on the newly created interface.
Bug: 202249262
Bug: 201675653
Test: Ran Nearby hotspot test and confirmed that STA is able to
connect with in 500ms.
Test command is ./testing/mobile/devicewhisperer/tests/nearby/connections/run.sh
E2E_P2P_POINT_TO_POINT_WIFI_HOTSPOT_UPGRADE
Change-Id: I5a74975fcfed7bbbff7a16acbecafd0a6570609d
2 files changed