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

Commit 799d5ad4 authored by Chris Manton's avatar Chris Manton
Browse files

Privatize tBTM_CB::tACL_CB::btm_scn[]

Creating ACL API

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ibd74d7aa15dcbb9c823808efad37bfd9a32c6a16
parent 914c1ac5
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -141,9 +141,11 @@ typedef struct {

  tACL_CONN acl_db[MAX_L2CAP_LINKS];

 public:
  friend uint8_t BTM_AllocateSCN(void);
  friend bool BTM_TryAllocateSCN(uint8_t scn);
  friend bool BTM_FreeSCN(uint8_t scn);
  uint8_t btm_scn[BTM_MAX_SCN_]; /* current SCNs: true if SCN is in use */
 private:

  friend bool acl_is_role_switch_allowed();
  friend void BTM_default_block_role_switch();
  friend void BTM_default_unblock_role_switch();