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

Commit 00a018e2 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "Set connection state to not connected while ACL is lost"

parents bf6cdfbc b9dd9b84
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2615,6 +2615,9 @@ static void bta_dm_acl_down(const RawAddress& bd_addr,
      memset(&bta_dm_cb.device_list.peer_device[clear_index], 0,
             sizeof(bta_dm_cb.device_list.peer_device[clear_index]));
    }

    device->conn_state = BTA_DM_NOT_CONNECTED;

    break;
  }
  if (bta_dm_cb.device_list.count) bta_dm_cb.device_list.count--;