Merge "wifi(vts): Ignore HAL stop failure" into oc-mr1-dev

am: 436ca9240e

Change-Id: I7763cb156d3d4b9e041664c4bdeae5a03962250d
This commit is contained in:
Roshan Pius 2017-11-20 20:32:56 +00:00 committed by android-build-merger
commit e141301cbb

View file

@ -206,7 +206,5 @@ bool configureChipToSupportIfaceType(const sp<IWifiChip>& wifi_chip,
void stopWifi() { void stopWifi() {
sp<IWifi> wifi = getWifi(); sp<IWifi> wifi = getWifi();
ASSERT_NE(wifi, nullptr); ASSERT_NE(wifi, nullptr);
const auto status = HIDL_INVOKE(wifi, stop); HIDL_INVOKE(wifi, stop);
ASSERT_TRUE((status.code == WifiStatusCode::SUCCESS) ||
(status.code == WifiStatusCode::ERROR_NOT_AVAILABLE));
} }