forked from espressif/esp-idf
Merge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'
bugfix/btdm_invalid_sco_handle_for_v3.1(backport v3.1) See merge request idf/esp-idf!2727
This commit is contained in:
@@ -319,9 +319,8 @@ void btm_sco_process_num_completed_pkts (UINT8 *p)
|
||||
STREAM_TO_UINT8 (num_handles, p);
|
||||
for (xx = 0; xx < num_handles; xx++) {
|
||||
STREAM_TO_UINT16 (handle, p);
|
||||
handle &= 0x7ff; // walk around for bad handle bit mask from controller
|
||||
STREAM_TO_UINT16 (num_sent, p);
|
||||
if ((sco_inx = btm_find_scb_by_handle(handle & 0x7ff)) == BTM_MAX_SCO_LINKS) {
|
||||
if ((sco_inx = btm_find_scb_by_handle(handle)) == BTM_MAX_SCO_LINKS) {
|
||||
continue;
|
||||
}
|
||||
BTM_TRACE_DEBUG("%s, %d, %u", __FUNCTION__, handle, p_cb->xmit_window_size); //debug
|
||||
|
Submodule components/bt/lib updated: 48b2459bcb...69f3de0011
Reference in New Issue
Block a user