diff options
author | Roshan Pius <rpius@google.com> | 2017-11-17 11:02:38 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2017-11-17 11:02:38 -0800 |
commit | 2d6676a1ce9083876f45dd1e581f7007c7531406 (patch) | |
tree | 79aec3eebe53781fc682cb4a9e81a6c875dceb49 | |
parent | 3200996d4b524c0b705bbd830229a773128de1de (diff) |
wifi(vts): Ignore HAL stop failure
The stop may fail if the interface down operation takes too long on some
devices. This is not fatal as long as we're able to bring up the
interfae for the next HAL start.
Bug: 68303248
Test: VTS tests
Change-Id: I93943f9d0cfb83cf07253c6f9b3866d6d137028f
-rw-r--r-- | wifi/1.0/vts/functional/wifi_hidl_test_utils.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wifi/1.0/vts/functional/wifi_hidl_test_utils.cpp b/wifi/1.0/vts/functional/wifi_hidl_test_utils.cpp index 0851cb2de5..313bdd8e25 100644 --- a/wifi/1.0/vts/functional/wifi_hidl_test_utils.cpp +++ b/wifi/1.0/vts/functional/wifi_hidl_test_utils.cpp @@ -206,7 +206,5 @@ bool configureChipToSupportIfaceType(const sp<IWifiChip>& wifi_chip, void stopWifi() { sp<IWifi> wifi = getWifi(); ASSERT_NE(wifi, nullptr); - const auto status = HIDL_INVOKE(wifi, stop); - ASSERT_TRUE((status.code == WifiStatusCode::SUCCESS) || - (status.code == WifiStatusCode::ERROR_NOT_AVAILABLE)); + HIDL_INVOKE(wifi, stop); } |