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

Commit 90993e40 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 am: 83c50436

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

Change-Id: I59e9fea67c42753a3a08591c953286baaa2c60b0
parents feb6c9ab 83c50436
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();
}