Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4b2a450 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "wifi: Update wifi_wait_for_driver_ready return status handling" into rvc-qpr-dev

parents d8f664a3 b3d4348b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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");