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

Commit 412d8289 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "Set connection state to not connected while ACL is lost" into tm-qpr-dev am: 0db97b88

parents 8e5f73eb 0db97b88
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--;