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

Commit c51e74d5 authored by Roshan Pius's avatar Roshan Pius Committed by android-build-merger
Browse files

wifi(implementation): Return proper status code on initialize

am: a1c76e4d

Change-Id: Ia6e18ee9f9543fb4059dd349c8a0f9ef286ad14d
parents b235c400 a1c76e4d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -328,9 +328,8 @@ wifi_error WifiLegacyHal::initialize() {
  wifi_error status = init_wifi_vendor_hal_func_table(&global_func_table_);
  if (status != WIFI_SUCCESS) {
    LOG(ERROR) << "Failed to initialize legacy hal function table";
    return WIFI_ERROR_UNKNOWN;
  }
  return WIFI_SUCCESS;
  return status;
}

wifi_error WifiLegacyHal::start() {