fix(ble/bluedroid): Add BLE_TOPOLOGY_CHECK
(cherry picked from commit 728c4c8a1005161fec705dead1e6b493c912385d) Co-authored-by: zhiweijian <zhiweijian@espressif.com>
This commit is contained in:
@@ -5282,10 +5282,11 @@ void bta_dm_ble_scan (tBTA_DM_MSG *p_data)
|
||||
status = (status == BTM_CMD_STARTED ? BTA_SUCCESS : BTA_FAILURE);
|
||||
p_data->ble_scan.p_stop_scan_cback(status);
|
||||
}
|
||||
|
||||
#if (BLE_TOPOLOGY_CHECK == TRUE)
|
||||
// reset BLE scan link state when stop scan
|
||||
btm_ble_clear_topology_mask(BTM_BLE_STATE_ACTIVE_SCAN_BIT);
|
||||
btm_ble_clear_topology_mask(BTM_BLE_STATE_PASSIVE_SCAN_BIT);
|
||||
#endif // (BLE_TOPOLOGY_CHECK == TRUE)
|
||||
}
|
||||
}
|
||||
#endif // (BLE_42_SCAN_EN == TRUE)
|
||||
|
||||
Reference in New Issue
Block a user