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

Commit 53b352c7 authored by Chris Manton's avatar Chris Manton
Browse files

Add link policy registration tACL_CB::clients

Bug: 175344733
Test: cert
Tag: #refactor

Change-Id: Ifa23c76f69786673194d5bac8af1bd25f78d9ff7
parent 065d4e74
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@

#include <cstdint>
#include <string>
#include <vector>

#include "stack/include/acl_api_types.h"
#include "stack/include/bt_types.h"
@@ -368,6 +369,10 @@ typedef struct {

  uint8_t pm_pend_id{0}; /* the id pf the module, which has a pending PM cmd */

  struct {
    std::vector<tBTM_PM_STATUS_CBACK*> clients;
  } link_policy;

  unsigned NumberOfActiveLinks() const {
    unsigned cnt = 0;
    for (int i = 0; i < MAX_L2CAP_LINKS; i++) {