diff options
author | Nate(Qiang) Jiang <qiangjiang@google.com> | 2020-02-19 17:30:55 -0800 |
---|---|---|
committer | Nate(Qiang) Jiang <qiangjiang@google.com> | 2020-02-19 17:34:29 -0800 |
commit | a075122fcabca1daba34ead5877d216782ede2f0 (patch) | |
tree | 2c6c0c93b4791094c39d41358777c9a9b45783e5 /wifi/1.4 | |
parent | 44f9c690fa3639f05a1026c5145ef83e685ed382 (diff) | |
download | platform_hardware_interfaces-a075122fcabca1daba34ead5877d216782ede2f0.tar.gz platform_hardware_interfaces-a075122fcabca1daba34ead5877d216782ede2f0.tar.bz2 platform_hardware_interfaces-a075122fcabca1daba34ead5877d216782ede2f0.zip |
Fix nan Vts test
count shoule be initialize to 0 before test.
Bug: 149709834
Test: atest VtsHalWifiApV1_4TargetTest
Change-Id: I47c43571bc3ff91f389a4c9f41e050cc13c104a2
Diffstat (limited to 'wifi/1.4')
-rw-r--r-- | wifi/1.4/vts/functional/wifi_nan_iface_hidl_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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; |