mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Merge branch 'bugfix/sco_pkt_type_err' into 'master'
fix(bt/bluedroid): fixed incorrect eSCO packet type validation in secure connection mode Closes BTQABR2023-849 See merge request espressif/esp-idf!51251
This commit is contained in:
@@ -655,7 +655,7 @@ static tBTM_STATUS btm_send_connect_request(UINT16 acl_handle,
|
||||
temp_pkt_types);
|
||||
|
||||
/* Return error if no packet types left */
|
||||
if ((temp_pkt_types & BTM_SCO_SUPPORTED_PKTS_MASK) == 0) {
|
||||
if (temp_pkt_types == BTM_SCO_EXCEPTION_PKTS_MASK) {
|
||||
BTM_TRACE_ERROR("%s: SCO Conn (BR/EDR SC): No packet types available",__FUNCTION__);
|
||||
return (BTM_WRONG_MODE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user