mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.3' into 'release/v4.3'
components/bt: Fix bluedroid compile issue(backport release/v4.3) See merge request espressif/esp-idf!16593
This commit is contained in:
@ -1539,13 +1539,12 @@ void smp_idle_terminate(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
void smp_fast_conn_param(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
void smp_fast_conn_param(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
||||||
{
|
{
|
||||||
#if (BT_MULTI_CONNECTION_ENBALE == FALSE)
|
|
||||||
if(p_cb->role == BTM_ROLE_MASTER) {
|
if(p_cb->role == BTM_ROLE_MASTER) {
|
||||||
|
#if (BT_MULTI_CONNECTION_ENBALE == FALSE)
|
||||||
L2CA_EnableUpdateBleConnParams(p_cb->pairing_bda, FALSE);
|
L2CA_EnableUpdateBleConnParams(p_cb->pairing_bda, FALSE);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
} else {
|
||||||
#if (SMP_SLAVE_CON_PARAMS_UPD_ENABLE == TRUE)
|
#if (SMP_SLAVE_CON_PARAMS_UPD_ENABLE == TRUE)
|
||||||
else {
|
|
||||||
tBTM_SEC_DEV_REC *p_rec = btm_find_dev (p_cb->pairing_bda);
|
tBTM_SEC_DEV_REC *p_rec = btm_find_dev (p_cb->pairing_bda);
|
||||||
if(p_rec && p_rec->ble.skip_update_conn_param) {
|
if(p_rec && p_rec->ble.skip_update_conn_param) {
|
||||||
//do nothing
|
//do nothing
|
||||||
@ -1558,8 +1557,8 @@ void smp_fast_conn_param(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
|||||||
#if (BT_MULTI_CONNECTION_ENBALE == FALSE)
|
#if (BT_MULTI_CONNECTION_ENBALE == FALSE)
|
||||||
L2CA_EnableUpdateBleConnParams(p_cb->pairing_bda, FALSE);
|
L2CA_EnableUpdateBleConnParams(p_cb->pairing_bda, FALSE);
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
Reference in New Issue
Block a user