OSDN Git Service

gatt_disconnect: Remove L2CA_CancelBleConnectReq
authorHansong Zhang <hsz@google.com>
Wed, 13 Jan 2021 05:15:31 +0000 (21:15 -0800)
committerHansong Zhang <hsz@google.com>
Wed, 13 Jan 2021 19:45:37 +0000 (11:45 -0800)
commit54916a04a7b022b8f87f03ef3517d46d52ff0cff
treec9638c7da5208b1ec63f69eac04883a00ff026d2
parent8ffbbd7af0485eff575acb59e712c2935cfbe4b8
gatt_disconnect: Remove L2CA_CancelBleConnectReq

When the link is not up, we need to cancel create connection.  In this
case, calling L2CA_CancelBleConnectReq() is just removing the gatt
direct connect client CONN_MGR_ID_L2CAP.  Then we clean up tcb.

Test: cert/run
Tag: #gd-refactor
Bug: 141555841
Change-Id: Ie294b7ad9c4429af71c45afe7b0a1ae6327dee2c
stack/gatt/gatt_main.cc