Merge "vts: Use global hostapd_ since teardown will call terminate function" into android11-tests-dev

This commit is contained in:
Treehugger Robot 2020-09-25 22:53:30 +00:00 committed by Gerrit Code Review
commit 91927a754a

View file

@ -145,8 +145,8 @@ TEST_P(HostapdHidlTest, Create) {
stopHostapd(wifi_instance_name_);
startHostapdAndWaitForHidlService(wifi_instance_name_,
hostapd_instance_name_);
sp<IHostapd> hostapd = IHostapd::getService(hostapd_instance_name_);
EXPECT_NE(nullptr, hostapd.get());
hostapd_ = IHostapd::getService(hostapd_instance_name_);
EXPECT_NE(nullptr, hostapd_.get());
}
/**