From a075122fcabca1daba34ead5877d216782ede2f0 Mon Sep 17 00:00:00 2001 From: "Nate(Qiang) Jiang" Date: Wed, 19 Feb 2020 17:30:55 -0800 Subject: Fix nan Vts test count shoule be initialize to 0 before test. Bug: 149709834 Test: atest VtsHalWifiApV1_4TargetTest Change-Id: I47c43571bc3ff91f389a4c9f41e050cc13c104a2 --- wifi/1.4/vts/functional/wifi_nan_iface_hidl_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wifi/1.4') diff --git a/wifi/1.4/vts/functional/wifi_nan_iface_hidl_test.cpp b/wifi/1.4/vts/functional/wifi_nan_iface_hidl_test.cpp index 782088f4cf..24daee69f3 100644 --- a/wifi/1.4/vts/functional/wifi_nan_iface_hidl_test.cpp +++ b/wifi/1.4/vts/functional/wifi_nan_iface_hidl_test.cpp @@ -440,7 +440,7 @@ class WifiNanIfaceHidlTest : public ::testing::TestWithParam { // synchronization objects std::mutex mtx_; std::condition_variable cv_; - int count_; + int count_ = 0; protected: android::sp<::android::hardware::wifi::V1_4::IWifiNanIface> iwifiNanIface; -- cgit v1.2.3