OSDN Git Service

Remove L2CA_ConfigReq in client code
authorHansong Zhang <hsz@google.com>
Fri, 25 Sep 2020 18:15:00 +0000 (11:15 -0700)
committerHansong Zhang <hsz@google.com>
Sat, 26 Sep 2020 01:06:40 +0000 (18:06 -0700)
commite91542d4780963b0c0540410c044e15dc1aaa476
tree469dde7ab55acbe2c90dbea1b6c34f896cbbcc36
parent65acfa23cf2b3abd92a0003d1ceaf60597eaf74b
Remove L2CA_ConfigReq in client code

Let L2CAP do this for you.

HIDD used to send anothe ConfigReq if the remote HIDH wants a different
QOS. We drop this adjustment for now. QOS is not used. Regard this as a
normal config error. This simplifies the workflow.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ic3ff08a4b876462fec697ffa8a09fc8bca943603
13 files changed:
stack/avct/avct_l2c.cc
stack/avct/avct_l2c_br.cc
stack/avdt/avdt_l2c.cc
stack/bnep/bnep_main.cc
stack/gap/gap_conn.cc
stack/gatt/gatt_main.cc
stack/hid/hidd_conn.cc
stack/hid/hidh_conn.cc
stack/include/l2c_api.h
stack/l2cap/l2c_api.cc
stack/l2cap/l2c_csm.cc
stack/rfcomm/rfc_mx_fsm.cc
stack/sdp/sdp_main.cc