diff options
author | 2025-02-24 16:42:49 -0800 | |
---|---|---|
committer | 2025-02-24 16:42:49 -0800 | |
commit | 51a2e259c84c40100bd26d8d2e4732a02b099a92 (patch) | |
tree | 7fc9cf36b60d66e5ed279e2344630f1eb8557b55 | |
parent | fc6a772010d0ca52337893f05bf415b723e88b8e (diff) | |
parent | fe0868b7e79f70a6952210b110d890650e75ead7 (diff) |
Merge "Correct transport in HID disconnection callback on bond removal" into main
-rw-r--r-- | system/btif/src/btif_hh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/btif/src/btif_hh.cc b/system/btif/src/btif_hh.cc index 2c5c322580..ecbca4c7c8 100644 --- a/system/btif/src/btif_hh.cc +++ b/system/btif/src/btif_hh.cc @@ -1007,7 +1007,7 @@ void btif_hh_remove_device(const tAclLinkSpec& link_spec) { // Notify service of disconnection to avoid state mismatch do_in_jni_thread( base::Bind([](tAclLinkSpec ls) { BTHH_STATE_UPDATE(ls, BTHH_CONN_STATE_DISCONNECTED); }, - link_spec)); + p_dev->link_spec)); if (btif_hh_cb.device_num > 0) { btif_hh_cb.device_num--; |