Merge branch 'bugfix/fix_some_bt_controller_bug_v4.4' into 'release/v4.4'

component_bt:Fixed some bluetooth bugs(v4.4)

See merge request espressif/esp-idf!24580
This commit is contained in:
Jiang Jiang Jian 2023-07-12 16:16:12 +08:00
commit 62387d8efa
2 changed files with 6 additions and 4 deletions

@ -1 +1 @@
Subproject commit 7c757d49c407e31c50d17c0d917c65c95fe3b6cc
Subproject commit e1b3a29c58a452a6c017113686262094afd87042

View File

@ -1224,9 +1224,11 @@ BOOLEAN bta_av_hdl_event(BT_HDR *p_msg)
} else {
APPL_TRACE_VERBOSE("handle=0x%x\n", p_msg->layer_specific);
tBTA_AV_SCB *p_scb = bta_av_hndl_to_scb(p_msg->layer_specific);
p_scb->disc_rsn = p_msg->offset;
/* stream state machine events */
bta_av_ssm_execute(p_scb, p_msg->event, (tBTA_AV_DATA *) p_msg);
if (p_scb) {
p_scb->disc_rsn = p_msg->offset;
/* stream state machine events */
bta_av_ssm_execute(p_scb, p_msg->event, (tBTA_AV_DATA *) p_msg);
}
}
return TRUE;
}