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

Commit 83c50436 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

legacy: Remove hci_is_root_inflammation_event_received am: dab23929

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1820883

Change-Id: Idec82070accbd10e24edb91d6edfd9b2777a87be
parents 96746d28 dab23929
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -1534,14 +1534,7 @@ static void btu_hcif_command_status_evt(uint8_t status, BT_HDR* command,
 *
 ******************************************************************************/
static void btu_hcif_hardware_error_evt(uint8_t* p) {
  HCI_TRACE_ERROR("Ctlr H/w error event - code:0x%x", *p);
  if (hci_is_root_inflammation_event_received()) {
    // Ignore the hardware error event here as we have already received
    // root inflammation event earlier.
    HCI_TRACE_ERROR("H/w error event after root inflammation event!");
    return;
  }

  LOG_ERROR("UNHANDLED Ctlr H/w error event - code:0x%x", *p);
  BTA_sys_signal_hw_error();
}