mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-31 14:22:14 +00:00
fix(ble/bluedroid): Fixed BLE cannot create connection
This commit is contained in:
@@ -4009,6 +4009,9 @@ static void btm_ble_stop_discover(void)
|
||||
if(btsnd_hcic_ble_set_scan_enable (BTM_BLE_SCAN_DISABLE, BTM_BLE_DUPLICATE_ENABLE)) {
|
||||
osi_sem_take(&scan_enable_sem, OSI_SEM_MAX_TIMEOUT);
|
||||
}
|
||||
/* reset status */
|
||||
btm_ble_clear_topology_mask(BTM_BLE_STATE_ACTIVE_SCAN_BIT);
|
||||
btm_ble_clear_topology_mask(BTM_BLE_STATE_PASSIVE_SCAN_BIT);
|
||||
}
|
||||
|
||||
if (p_scan_cb) {
|
||||
|
Reference in New Issue
Block a user