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

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

Add tACL_CONN::InUse

Towards readable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: Ic7b9697f532a711044bd47125823c4d3f1c5edd1
parent c5203c21
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -87,7 +87,11 @@ typedef struct {
  RawAddress active_remote_addr;
  RawAddress conn_addr;
  RawAddress remote_addr;
  bool in_use;
  bool in_use{false};

 public:
  bool InUse() const { return in_use; }

  bool link_up_issued;
  tBT_TRANSPORT transport;
  bool is_transport_br_edr() const { return transport == BT_TRANSPORT_BR_EDR; }