mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "wifi(vts): Ignore HAL stop failure" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
436ca9240e
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user