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

Commit 07cc8541 authored by Pomai Ahlo's avatar Pomai Ahlo
Browse files

Remove unused interface SCN

Removing .scn in btm_client_interface to prepare for btm_scn to be moved
to bta

Bug: 299158235
Test: m Bluetooth
Change-Id: I9716dde890b91a63b3c3ee1a67629fc1cfd1904a
parent 766108fa
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -44,13 +44,6 @@ struct btm_client_interface_t btm_client_interface = {
            .BTM_reset_complete = BTM_reset_complete,
        },

    .scn =
        {
            .BTM_AllocateSCN = BTM_AllocateSCN,
            .BTM_TryAllocateSCN = BTM_TryAllocateSCN,
            .BTM_FreeSCN = BTM_FreeSCN,
        },

    // Acl peer and lifecycle
    .peer =
        {
+0 −7
Original line number Diff line number Diff line
@@ -50,13 +50,6 @@ struct btm_client_interface_t {
    void (*BTM_reset_complete)();
  } lifecycle;

  struct {
    // Server channel number
    uint8_t (*BTM_AllocateSCN)(void);
    bool (*BTM_TryAllocateSCN)(uint8_t scn);
    bool (*BTM_FreeSCN)(uint8_t scn);
  } scn;

  // Acl peer and lifecycle
  struct {
    struct {
+0 −6
Original line number Diff line number Diff line
@@ -53,12 +53,6 @@ struct btm_client_interface_t btm_client_interface = {
        .btm_ble_free = []() {},
        .BTM_reset_complete = []() {},
    },
    .scn =
        {
            .BTM_AllocateSCN = BTM_AllocateSCN,
            .BTM_TryAllocateSCN = BTM_TryAllocateSCN,
            .BTM_FreeSCN = BTM_FreeSCN,
        },
    .peer = {
        .features =
            {