commit | 048b41621cf42f9dd06f6e8333cd9af44fc80b2a | [log] [tgz] |
---|---|---|
author | Chris Manton <cmanton@google.com> | Mon Feb 24 13:53:14 2020 -0800 |
committer | Chris Manton <cmanton@google.com> | Mon Feb 24 13:55:47 2020 -0800 |
tree | 032398290af2c7ca0311a2db349d90b97112cc2b | |
parent | 13826c8127b4ca4431149145d159f59a9d94625a [diff] |
gd: Clean up acl after disconnect link teardown final completion Bug:146086425 Test: bluetooth_test_gd Test: pts tests with successsive remote requests Change-Id: I36cf2128cab2229b58b5260b5f55e38938323e33
diff --git a/system/gd/l2cap/classic/internal/link.cc b/system/gd/l2cap/classic/internal/link.cc index 135f67f..6ee00ce 100644 --- a/system/gd/l2cap/classic/internal/link.cc +++ b/system/gd/l2cap/classic/internal/link.cc
@@ -64,6 +64,7 @@ auto entry = local_cid_to_pending_dynamic_channel_connection_map_.begin(); NotifyChannelFail(entry->first, result); } + acl_connection_->Finish(); } void Link::Disconnect() {