|
|
@@ -1540,9 +1540,11 @@ 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)
|
|
|
{
|
|
|
+#if (BT_MULTI_CONNECTION_ENBALE == FALSE)
|
|
|
if(p_cb->role == BTM_ROLE_MASTER) {
|
|
|
L2CA_EnableUpdateBleConnParams(p_cb->pairing_bda, FALSE);
|
|
|
}
|
|
|
+#endif
|
|
|
#if (SMP_SLAVE_CON_PARAMS_UPD_ENABLE == TRUE)
|
|
|
else {
|
|
|
tBTM_SEC_DEV_REC *p_rec = btm_find_dev (p_cb->pairing_bda);
|
|
|
@@ -1554,7 +1556,9 @@ void smp_fast_conn_param(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
|
|
|
some peripherals are not able to revert to fast connection parameters
|
|
|
during the start of service discovery. Connection paramter updates
|
|
|
get enabled again once service discovery completes. */
|
|
|
+ #if (BT_MULTI_CONNECTION_ENBALE == FALSE)
|
|
|
L2CA_EnableUpdateBleConnParams(p_cb->pairing_bda, FALSE);
|
|
|
+ #endif
|
|
|
}
|
|
|
#endif
|
|
|
}
|