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

Commit d4314e54 authored by Zach Johnson's avatar Zach Johnson
Browse files

lol resetting the controller on hardware error

when btif gets word we had a hardware error,
it nukes us from orbit

no sense rearranging deck chairs

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ia4fbf39577a0a80a83c3f355afe38cd3f5504a33
parent fa8e631e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1537,9 +1537,6 @@ static void btu_hcif_hardware_error_evt(uint8_t* p) {
  }

  send_bta_sys_hw_event(BTA_SYS_ERROR_EVT);

  /* Reset the controller */
  if (BTM_IsDeviceUp()) BTM_DeviceReset();
}

/*******************************************************************************