mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
Merge "wifi: Update wifi_wait_for_driver_ready return status handling" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f4b2a45056
@@ -367,8 +367,8 @@ wifi_error WifiLegacyHal::start() {
|
||||
}
|
||||
LOG(DEBUG) << "Waiting for the driver ready";
|
||||
wifi_error status = global_func_table_.wifi_wait_for_driver_ready();
|
||||
if (status == WIFI_ERROR_TIMED_OUT) {
|
||||
LOG(ERROR) << "Timed out awaiting driver ready";
|
||||
if (status == WIFI_ERROR_TIMED_OUT || status == WIFI_ERROR_UNKNOWN) {
|
||||
LOG(ERROR) << "Failed or timed out awaiting driver ready";
|
||||
return status;
|
||||
}
|
||||
property_set(kDriverPropName, "ok");
|
||||
|
||||
Reference in New Issue
Block a user