commit | 85086ed53704863fa45f8bbbc0c3cce5130ea62c | [log] [tgz] |
---|---|---|
author | Chienyuan <chienyuanhuang@google.com> | Mon Aug 01 20:42:48 2022 +0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Aug 10 01:42:43 2022 +0000 |
tree | d5c63632486a596fc620a7ea96fdd771ba610d30 | |
parent | 9369e03ca18fcfa86680d0e401a41ce3a3786c8a [diff] |
AckPause when Create Connection Cancel fail Bug: 239773749 Test: gd/cert/run Tag: #refactor Change-Id: I0ed0187d872c0aca96b58ebb6b152e3a93e1e616 Merged-In: I0ed0187d872c0aca96b58ebb6b152e3a93e1e616 (cherry picked from commit 700b8a771b4a5e6b1208b4c4386e99646cbb9c4a) (cherry picked from commit feaeffbe41f58af9382cfaade3ba1d8baca0c8d9) Merged-In: I0ed0187d872c0aca96b58ebb6b152e3a93e1e616
diff --git a/system/gd/hci/acl_manager/le_impl.h b/system/gd/hci/acl_manager/le_impl.h index b064804..6e7c272 100644 --- a/system/gd/hci/acl_manager/le_impl.h +++ b/system/gd/hci/acl_manager/le_impl.h
@@ -972,6 +972,11 @@ auto status = complete_view.GetStatus(); std::string error_code = ErrorCodeText(status); LOG_WARN("Received on_create_connection_cancel_complete with error code %s", error_code.c_str()); + if (pause_connection) { + LOG_WARN("AckPause"); + le_address_manager_->AckPause(this); + return; + } } if (connectability_state_ != ConnectabilityState::DISARMING) { LOG_ERROR(