diff options
author | Irfan Sheriff <isheriff@google.com> | 2013-02-21 14:15:18 -0800 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2013-02-22 09:23:55 -0800 |
commit | bcc97ca43a339c3356b5c8d9eaf1cbdfb0de3165 (patch) | |
tree | 0620ab5952f774238704ec0d1097b775e7b68dfc /core/tests/bandwidthtests | |
parent | 8a64b1a7f4b07e71b9eb0f4a98710cb1409588bf (diff) |
Clean up scan handling
Remove obsolete active/passive scan handling - drivers always
do active scan.
Also, remove AP_SCAN hack for preventing connections and use
the TYPE=ONLY scan.
Bug: 8158647
Change-Id: I8f70e19219ad789b7501a40529bcd6b6524739e8
Diffstat (limited to 'core/tests/bandwidthtests')
-rw-r--r-- | core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ConnectionUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ConnectionUtil.java b/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ConnectionUtil.java index d5fcc1cd4f27..dd60dd4c40f9 100644 --- a/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ConnectionUtil.java +++ b/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ConnectionUtil.java @@ -588,7 +588,7 @@ public class ConnectionUtil { return true; } else { // Start an active scan - mWifiManager.startScanActive(); + mWifiManager.startScan(); mScanResultIsAvailable = false; long startTime = System.currentTimeMillis(); while (!mScanResultIsAvailable) { |