Merge branch 'bugfix/spp_deinit_fail' into 'release/v6.1'

fix(bt/bluedroid): fixed JV disable event has no handler in Bluedroid (v6.1)

See merge request espressif/esp-idf!52594
This commit is contained in:
Jiang Jiang Jian
2026-09-10 11:21:11 +08:00
2 changed files with 0 additions and 2 deletions

View File

@@ -83,7 +83,6 @@ void BTA_HdDisable(void)
BT_HDR *p_buf;
APPL_TRACE_API("%s", __func__);
if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR))) != NULL) {
bta_sys_deregister(BTA_ID_HD);
p_buf->event = BTA_HD_API_DISABLE_EVT;
bta_sys_sendmsg(p_buf);
}

View File

@@ -133,7 +133,6 @@ void BTA_JvDisable(tBTA_JV_RFCOMM_CBACK *p_cback)
APPL_TRACE_API( "BTA_JvDisable");
if ((p_buf = (tBTA_JV_API_DISABLE *) osi_malloc(sizeof(tBTA_JV_API_DISABLE))) != NULL) {
bta_sys_deregister(BTA_ID_JV);
p_buf->hdr.event = BTA_JV_API_DISABLE_EVT;
p_buf->p_cback = p_cback;
bta_sys_sendmsg(p_buf);