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
This commit is contained in:
Blair Prescott
2020-10-07 10:52:32 -07:00
committed by Blair Prescott
parent f77f02bf50
commit 230e96521d

View File

@@ -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();
}