summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Plass <mplass@google.com>2017-02-13 10:42:52 -0800
committerMichael Plass <mplass@google.com>2017-02-13 19:55:10 +0000
commit691806f65a5f259fd8e6b709c97d0035c418c483 (patch)
treef70f9cdcb3091ba2908fa9f66b3dbd48435c6cb9 /tests
parentdf8568a5aaed3c82ff7ef1ecafab85abf7a99da7 (diff)
Fix testFeatureMaskTranslation
Test: all wifi unit tests pass Bug: 35101185 Change-Id: Ifab535088186393f19d6211499c15e043cecb539
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
index c695abf43..555d3bab0 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java
@@ -329,8 +329,7 @@ public class WifiVendorHalTest {
| IWifiStaIface.StaIfaceCapabilityMask.LINK_LAYER_STATS
);
int expected = (
- WifiManager.WIFI_FEATURE_INFRA
- | WifiManager.WIFI_FEATURE_SCANNER
+ WifiManager.WIFI_FEATURE_SCANNER
| WifiManager.WIFI_FEATURE_LINK_LAYER_STATS);
assertEquals(expected, mWifiVendorHal.wifiFeatureMaskFromStaCapabilities(caps));
}