mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix nan Vts test
count shoule be initialize to 0 before test. Bug: 149709834 Test: atest VtsHalWifiApV1_4TargetTest Change-Id: I47c43571bc3ff91f389a4c9f41e050cc13c104a2
This commit is contained in:
@@ -439,7 +439,7 @@ class WifiNanIfaceHidlTest : public ::testing::TestWithParam<std::string> {
|
||||
// synchronization objects
|
||||
std::mutex mtx_;
|
||||
std::condition_variable cv_;
|
||||
int count_;
|
||||
int count_ = 0;
|
||||
|
||||
protected:
|
||||
android::sp<::android::hardware::wifi::V1_2::IWifiNanIface> iwifiNanIface;
|
||||
|
||||
@@ -440,7 +440,7 @@ class WifiNanIfaceHidlTest : public ::testing::TestWithParam<std::string> {
|
||||
// synchronization objects
|
||||
std::mutex mtx_;
|
||||
std::condition_variable cv_;
|
||||
int count_;
|
||||
int count_ = 0;
|
||||
|
||||
protected:
|
||||
android::sp<::android::hardware::wifi::V1_4::IWifiNanIface> iwifiNanIface;
|
||||
|
||||
Reference in New Issue
Block a user