Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0e13d60 authored by Jerry Wong's avatar Jerry Wong
Browse files

supplicant(vts): Skip p2p tests on non-p2p devices as intended

The logic to skip the p2p tests on non-p2p devices appear to have
inadventently flipped since d6436731.

Bug: 173134041
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Change-Id: I7945950e8483241e47e308a2c5ad97571d74a769
parent 43e5220d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -75,7 +75,7 @@ TEST_P(SupplicantHidlTest, AddStaInterface) {
 * AddP2pInterface
 * AddP2pInterface
 */
 */
TEST_P(SupplicantHidlTest, AddP2pInterface) {
TEST_P(SupplicantHidlTest, AddP2pInterface) {
    if (isP2pOn_) return;
    if (!isP2pOn_) return;
    ISupplicant::IfaceInfo iface_info;
    ISupplicant::IfaceInfo iface_info;
    iface_info.name = getP2pIfaceName();
    iface_info.name = getP2pIfaceName();
    iface_info.type = IfaceType::P2P;
    iface_info.type = IfaceType::P2P;
@@ -115,7 +115,7 @@ TEST_P(SupplicantHidlTest, RemoveStaInterface) {
 * RemoveP2pInterface
 * RemoveP2pInterface
 */
 */
TEST_P(SupplicantHidlTest, RemoveP2pInterface) {
TEST_P(SupplicantHidlTest, RemoveP2pInterface) {
    if (isP2pOn_) return;
    if (!isP2pOn_) return;
    ISupplicant::IfaceInfo iface_info;
    ISupplicant::IfaceInfo iface_info;
    iface_info.name = getP2pIfaceName();
    iface_info.name = getP2pIfaceName();
    iface_info.type = IfaceType::P2P;
    iface_info.type = IfaceType::P2P;