mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-21 06:56:11 -04:00
fix(bt/bluedroid): Fix ble adv report evt type
This commit is contained in:
parent
b6fa48e3b9
commit
253d19bfde
@ -3355,7 +3355,11 @@ BOOLEAN btm_ble_update_inq_result(BD_ADDR bda, tINQ_DB_ENT *p_i, UINT8 addr_type
|
||||
if (evt_type != BTM_BLE_SCAN_RSP_EVT) {
|
||||
p_cur->ble_evt_type = evt_type;
|
||||
}
|
||||
|
||||
#if BTM_BLE_ACTIVE_SCAN_REPORT_ADV_SCAN_RSP_INDIVIDUALLY
|
||||
if (evt_type == BTM_BLE_SCAN_RSP_EVT) {
|
||||
p_cur->ble_evt_type = evt_type;
|
||||
}
|
||||
#endif
|
||||
p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */
|
||||
|
||||
if (p_le_inq_cb->adv_len != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user