mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
fix(ble/bluedroid): Disable bluedroid host Qos
(cherry picked from commit 47f13aa75b)
Co-authored-by: zhiweijian <zhiweijian@espressif.com>
This commit is contained in:
@@ -1891,6 +1891,7 @@ tBTM_STATUS BTM_RegAclLinkStatNotif(tBTM_ACL_LINK_STAT_CB *p_cb)
|
||||
return BTM_SUCCESS;
|
||||
}
|
||||
|
||||
#if (CLASSIC_BT_INCLUDED == TRUE)
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_SetQoS
|
||||
@@ -1972,7 +1973,7 @@ void btm_qos_setup_complete (UINT8 status, UINT16 handle, FLOW_SPEC *p_flow)
|
||||
(*p_cb)(&qossu);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // (CLASSIC_BT_INCLUDED == TRUE)
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function btm_qos_setup_timeout
|
||||
@@ -1987,7 +1988,9 @@ void btm_qos_setup_timeout (void *p_tle)
|
||||
{
|
||||
BTM_TRACE_DEBUG ("%s\n", __func__);
|
||||
|
||||
#if (CLASSIC_BT_INCLUDED == TRUE)
|
||||
btm_qos_setup_complete (HCI_ERR_HOST_TIMEOUT, 0, NULL);
|
||||
#endif // (CLASSIC_BT_INCLUDED == TRUE)
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
|
||||
@@ -201,10 +201,11 @@ tBTM_CMPL_CB *p_lnk_qual_cmpl_cb;/* Callback function to be called when
|
||||
TIMER_LIST_ENT txpwer_timer;
|
||||
tBTM_CMPL_CB *p_txpwer_cmpl_cb; /* Callback function to be called when */
|
||||
/* read inq tx power function completes */
|
||||
|
||||
#if (CLASSIC_BT_INCLUDED == TRUE)
|
||||
TIMER_LIST_ENT qossu_timer;
|
||||
tBTM_CMPL_CB *p_qossu_cmpl_cb; /* Callback function to be called when */
|
||||
/* qos setup function completes */
|
||||
#endif // (CLASSIC_BT_INCLUDED == TRUE)
|
||||
|
||||
tBTM_ROLE_SWITCH_CMPL switch_role_ref_data;
|
||||
tBTM_CMPL_CB *p_switch_role_cb; /* Callback function to be called when */
|
||||
|
||||
@@ -1702,8 +1702,10 @@ static void btu_hcif_hdl_command_status (UINT16 opcode, UINT8 status, UINT8 *p_c
|
||||
break;
|
||||
|
||||
case HCI_QOS_SETUP_COMP_EVT:
|
||||
#if (CLASSIC_BT_INCLUDED == TRUE)
|
||||
/* Tell qos setup that we are done */
|
||||
btm_qos_setup_complete(status, 0, NULL);
|
||||
#endif // (CLASSIC_BT_INCLUDED == TRUE)
|
||||
break;
|
||||
|
||||
case HCI_SWITCH_ROLE:
|
||||
|
||||
Reference in New Issue
Block a user