mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(ble/bluedroid): change tGATT_BG_CONN_DEV to GATT_BG_CONN_DEV
(cherry picked from commit ac7812ef8d)
Co-authored-by: zhiweijian <zhiweijian@espressif.com>
This commit is contained in:
@@ -1079,11 +1079,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 (GATT_BG_CONN_DEV == TRUE)
|
||||
if (conn_st == BLE_BG_CONN) {
|
||||
btm_ble_suspend_bg_conn();
|
||||
}
|
||||
#endif // #if (tGATT_BG_CONN_DEV == TRUE)
|
||||
#endif // #if (GATT_BG_CONN_DEV == TRUE)
|
||||
rt = TRUE;
|
||||
}
|
||||
return rt;
|
||||
|
||||
Reference in New Issue
Block a user