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

This commit is contained in:
Jin Cheng
2026-09-09 13:54:24 +08:00
parent e3572650cb
commit fa80443093
2 changed files with 0 additions and 2 deletions
@@ -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);
}
@@ -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);