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

Commit f3372292 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

broadcaster: Fix invalid HAL version log

It is no longer HAL 2.1 that is required.

Bug: 150670922
Tag: #feature
Test: atest bluetooth_test_broadcaster bluetooth_test_broadcaster_sm
Sponsor: jpawlowski@

Change-Id: Iacc680cedd02d8c8aa0bfc0b48a0aef11404b4f1
parent 17c7f4a8
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -704,13 +704,12 @@ void LeAudioBroadcaster::Initialize(
    return;
  }

  IsoManager::GetInstance()->Start();

  if (!std::move(audio_hal_verifier).Run()) {
    LOG_ASSERT(false) << __func__ << ", HAL 2.1 not supported, Init aborted.";
    return;
    LOG_ALWAYS_FATAL("HAL requirements not met. Init aborted.");
  }

  IsoManager::GetInstance()->Start();

  instance = new LeAudioBroadcasterImpl(callbacks);
  /* Register HCI event handlers */
  IsoManager::GetInstance()->RegisterBigCallbacks(instance);