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

Commit 7beea79a authored by wang ping's avatar wang ping Committed by Android Git Automerger
Browse files

am f05d850b: Fix issue where bluesleep idle timer is not started

* commit 'f05d850b':
  Fix issue where bluesleep idle timer is not started
parents d6fafa5f f05d850b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ static void wake_assert() {

static void transmit_done() {
  transmit_is_done = true;
  if (wake_state == LPM_WAKE_W4_TX_DONE) {
  if (wake_state == LPM_WAKE_W4_TX_DONE || wake_state == LPM_WAKE_ASSERTED) {
    wake_state = LPM_WAKE_W4_TIMEOUT;
    start_idle_timer();
  }