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

Commit 3f174c00 authored by Etan Cohen's avatar Etan Cohen Committed by Android (Google) Code Review
Browse files

Merge "[VTS][RTT] Fix CreateRtt test case: use STA instead of AP"

parents c2623f00 b7df5e9c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -735,10 +735,10 @@ TEST_F(WifiChipHidlTest, RemoveStaIface) {
 * CreateRttController
 */
TEST_F(WifiChipHidlTest, CreateRttController) {
    configureChipForIfaceType(IfaceType::AP, true);
    configureChipForIfaceType(IfaceType::STA, true);

    sp<IWifiApIface> iface;
    EXPECT_EQ(WifiStatusCode::SUCCESS, createApIface(&iface));
    sp<IWifiStaIface> iface;
    EXPECT_EQ(WifiStatusCode::SUCCESS, createStaIface(&iface));
    EXPECT_NE(nullptr, iface.get());

    const auto& status_and_rtt_controller =