Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888
am: 7ce0280a4d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771 Change-Id: I46da75297a7d58c4db18831a7aba491e3801c400
This commit is contained in:
commit
c663e086fd
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue