From 230e96521d90e9fa2abfe4be83382c3f5b286246 Mon Sep 17 00:00:00 2001 From: Blair Prescott Date: Wed, 7 Oct 2020 10:52:32 -0700 Subject: [PATCH] wifi: Fix VTS error for non-p2p devices Fix VtsHalWifiSupplicantP2pV1_0TargetTest to skip tests in such a way that VTS reports the module as complete on devices that don't support Wifi Direct. Bug: 170326147 Test: run vts -m VtsHalWifiSupplicantP2pV1_0TargetTest Change-Id: Ia418c4bb72f4772422d724636453395c4ba9fb2d --- .../vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp b/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp index 01840e27cf..b2bdaf1b40 100644 --- a/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp +++ b/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantP2pV1_0TargetTest.cpp @@ -18,9 +18,6 @@ #include "supplicant_hidl_test_utils.h" int main(int argc, char** argv) { - if (!::testing::deviceSupportsFeature("android.hardware.wifi.direct")) - return 0; - ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }