mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-08 16:21:46 +00:00
feat(ble/bluedroid): reduce bluedrois host bin size and disable BLE_HOST_BG_CONNECT_EN
This commit is contained in:
@@ -1073,11 +1073,11 @@ BOOLEAN l2cble_create_conn (tL2C_LCB *p_lcb)
|
||||
L2CAP_TRACE_WARNING ("L2CAP - LE - cannot start new connection at conn st: %d", conn_st);
|
||||
|
||||
btm_ble_enqueue_direct_conn_req(p_lcb);
|
||||
|
||||
#if (tGATT_BG_CONN_DEV == TRUE)
|
||||
if (conn_st == BLE_BG_CONN) {
|
||||
btm_ble_suspend_bg_conn();
|
||||
}
|
||||
|
||||
#endif // #if (tGATT_BG_CONN_DEV == TRUE)
|
||||
rt = TRUE;
|
||||
}
|
||||
return rt;
|
||||
|
Reference in New Issue
Block a user