diff options
author | Roshan Pius <rpius@google.com> | 2020-05-29 10:24:30 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2020-05-29 13:17:38 -0700 |
commit | ec1025373054e637e3b0e4e25ecafb18a4086e29 (patch) | |
tree | 83aa2e83fdcb3a68fe1f2d534f955043f3d136ea /libs | |
parent | b33a1d5b8d8583628ca94b3df7ed5ededca1191d (diff) |
WifiNetworkFactory: Stop scanning once user selects a network
Once the user selects one of the matched networks (or was pre-approved),
there is no need to continue scanning. Scanning while connecting could
lead to disruption in the connection (because the chip needs to go
off-channel when connecting/DHCP). Previously, we were cancelling
periodic scans only after the connection is established.
Also, reset |IsTimerSet| boolean when the corresponding timers fire.
Bug: 157603386
Test: atest com.android.server.wifi
Test: act.py -c wifi_manager_cross.config -tb dut-name -tc
WifiNetworkRequestTest
Test: Manually verified that scans are stopped after user selection.
Change-Id: I88af4e2d3f2331ba41bacea6fb6b9936e8db88a8
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions