Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_some_bt_controller_bug_v4.4' into 'release/v…
Browse files Browse the repository at this point in the history
…4.4'

component_bt:Fixed some bluetooth bugs(v4.4)

See merge request espressif/esp-idf!24580
  • Loading branch information
jack0c committed Jul 12, 2023
2 parents 99279e7 + 2685472 commit 62387d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/bt/controller/lib_esp32
8 changes: 5 additions & 3 deletions components/bt/host/bluedroid/bta/av/bta_av_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 62387d8

Please sign in to comment.