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

Commit 6504cb2e authored by Ningyuan Wang's avatar Ningyuan Wang
Browse files

Fix VTS test for SupplicantP2pIface::stopFind()

stopFind() returns SUCCESS even when there is no ongoing
find() operation.

Bug: 37220169
Test: vts tests pass
Change-Id: Ia3f3b4e0c4e7fb7263c1bcbfda1a40b6e5f1cba2
parent 5ed47334
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -219,10 +219,6 @@ TEST_F(SupplicantP2pIfaceHidlTest, StopFind) {
    p2p_iface_->stopFind([](const SupplicantStatus& status) {
        EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code);
    });

    p2p_iface_->stopFind([](const SupplicantStatus& status) {
        EXPECT_NE(SupplicantStatusCode::SUCCESS, status.code);
    });
}

/*