Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: I694d4cd21dcfd79ea5fdc1993efb7df59178c03c
This commit is contained in:
Treehugger Robot
2020-11-14 06:44:04 +00:00
committed by Automerger Merge Worker

View File

@@ -75,7 +75,7 @@ TEST_P(SupplicantHidlTest, AddStaInterface) {
* 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 @@ TEST_P(SupplicantHidlTest, RemoveStaInterface) {
* RemoveP2pInterface
*/
TEST_P(SupplicantHidlTest, RemoveP2pInterface) {
if (isP2pOn_) return;
if (!isP2pOn_) return;
ISupplicant::IfaceInfo iface_info;
iface_info.name = getP2pIfaceName();
iface_info.type = IfaceType::P2P;