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

Commit dab23929 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Remove hci_is_root_inflammation_event_received

Bug: 197150934
Tag: #refactor
Test: gd/cert/run

Change-Id: Ia41255157705f14e4e58f51227026db7e496cb17
parent e5185ba6
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();
}