commit | bfcb4248130d34ba17dba4164f8897f8be229c36 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Sat Nov 14 07:18:37 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Nov 14 07:18:37 2020 +0000 |
tree | 5865b0e89ddc705d900d2aa5d79e347feef3ab82 | |
parent | 3ee6110e353dc92ed5e07ff62848730732171e57 [diff] | |
parent | 119d863efa8bcd437ca1b6052e5345683dda3b87 [diff] |
Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d am: 119d863efa Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700 Change-Id: Ica406a4de8dfb04c093d3227a71e860e8727e720
diff --git a/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp b/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp index 76d12d7..6ad4290 100644 --- a/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp +++ b/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp
@@ -75,7 +75,7 @@ * AddP2pInterface */ TEST_P(SupplicantHidlTest, AddP2pInterface) { - if (isP2pOn_) return; + if (!isP2pOn_) return; ISupplicant::IfaceInfo iface_info; iface_info.name = getP2pIfaceName(); iface_info.type = IfaceType::P2P; @@ -115,7 +115,7 @@ * RemoveP2pInterface */ TEST_P(SupplicantHidlTest, RemoveP2pInterface) { - if (isP2pOn_) return; + if (!isP2pOn_) return; ISupplicant::IfaceInfo iface_info; iface_info.name = getP2pIfaceName(); iface_info.type = IfaceType::P2P;