Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_some_bt_controller_bug_v5.1' into 'release/v…
Browse files Browse the repository at this point in the history
…5.1'

component_bt:Fixed some bluetooth bugs(v5.1)

See merge request espressif/esp-idf!24579
  • Loading branch information
jack0c committed Jul 5, 2023
2 parents 16ff61b + 6e9dabe commit 5e34883
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 @@ -1251,9 +1251,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 5e34883

Please sign in to comment.