mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/hfp_hci_sco' into 'master'
component bt/ Bugfix for HFP hci audio crash See merge request espressif/esp-idf!6864
This commit is contained in:
commit
f696a29664
@ -321,6 +321,7 @@ static void bta_ag_sco_read_cback(UINT16 sco_inx, BT_HDR *p_data, tBTM_SCO_DATA_
|
|||||||
|
|
||||||
/* Callout function must free the data. */
|
/* Callout function must free the data. */
|
||||||
bta_ag_sco_co_in_data(p_data, status);
|
bta_ag_sco_co_in_data(p_data, status);
|
||||||
|
osi_free(p_data);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
@ -152,7 +152,6 @@ static void btu_hci_msg_process(void *param)
|
|||||||
case BT_EVT_TO_BTU_HCI_SCO:
|
case BT_EVT_TO_BTU_HCI_SCO:
|
||||||
#if BTM_SCO_INCLUDED == TRUE
|
#if BTM_SCO_INCLUDED == TRUE
|
||||||
btm_route_sco_data (p_msg);
|
btm_route_sco_data (p_msg);
|
||||||
osi_free(p_msg);
|
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user