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

Commit 4dc8b042 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Jack He
Browse files

l2cap: Notify upper layer about credit based conn request collision

When Android handles local Credit Based Connection request, the
incoming requests are rejected. With this patch, upper layer will know
about collision and can handle it later on if needed

Bug: 236216322
Test: atest BluetoothInstrumentationTests
Test: PTS
Tag: #stability
Change-Id: Iebaee7ecfa4b1c330fd42e5755d5e43b6a334aab
parent ce0be425
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ const tL2CAP_APPL_INFO avct_l2c_appl = {
    NULL,
    NULL,
    NULL,
    NULL,
};

/*******************************************************************************
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ const tL2CAP_APPL_INFO avct_l2c_br_appl = {avct_l2c_br_connect_ind_cback,
                                           avct_br_on_l2cap_error,
                                           NULL,
                                           NULL,
                                           NULL,
                                           NULL};

/*******************************************************************************
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ const tL2CAP_APPL_INFO avdt_l2c_appl = {avdt_l2c_connect_ind_cback,
                                        avdt_on_l2cap_error,
                                        NULL,
                                        NULL,
                                        NULL,
                                        NULL};

/*******************************************************************************
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ static const tL2CAP_APPL_INFO dyn_info = {gatt_l2cif_connect_ind_cback,
                                          gatt_on_l2cap_error,
                                          NULL,
                                          NULL,
                                          NULL,
                                          NULL};

tGATT_CB gatt_cb;
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ static const tL2CAP_APPL_INFO dev_reg_info = {hidd_l2cif_connect_ind,
                                              hidd_on_l2cap_error,
                                              NULL,
                                              NULL,
                                              NULL,
                                              NULL};

/*******************************************************************************
Loading