summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOscar Shu <xshu@google.com>2020-02-25 18:13:11 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-25 18:13:11 +0000
commitb66edf6a39b0038c885b98134679d491ddfffd84 (patch)
treed9f7411f7bd49cdcdf0c1e3e6c8844199c956d9f /tests
parenta41a8b4bace719172bb2721e0b6323bc3830e11d (diff)
parent5430ea403a6a6d7882695cbf29eeedb5e85e2b04 (diff)
Merge "Set mTargetBssid during assocation rejection" into rvc-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
index a31247be0..c14f7bb69 100644
--- a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
@@ -2980,7 +2980,8 @@ public class ClientModeImplTest extends WifiBaseTest {
@Test
public void testNotifiesBssidBlocklistMonitorLowRssi() throws Exception {
initializeAndAddNetworkAndVerifySuccess();
- mCmi.sendMessage(ClientModeImpl.CMD_START_CONNECT, FRAMEWORK_NETWORK_ID, 0, sBSSID);
+ mCmi.sendMessage(ClientModeImpl.CMD_START_CONNECT, FRAMEWORK_NETWORK_ID, 0,
+ ClientModeImpl.SUPPLICANT_BSSID_ANY);
mCmi.sendMessage(WifiMonitor.ASSOCIATION_REJECTION_EVENT, 1, 0, sBSSID);
when(mWifiConfigManager.findScanRssi(eq(FRAMEWORK_NETWORK_ID), anyInt())).thenReturn(-80);
when(mWifiConfigManager.getScanDetailCacheForNetwork(FRAMEWORK_NETWORK_ID))