mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan
This commit is contained in:
parent
7f1e4ebbaa
commit
7f2cedc048
@ -4003,7 +4003,6 @@ static void btm_ble_stop_discover(void)
|
|||||||
|
|
||||||
if (!BTM_BLE_IS_SCAN_ACTIVE(p_ble_cb->scan_activity)) {
|
if (!BTM_BLE_IS_SCAN_ACTIVE(p_ble_cb->scan_activity)) {
|
||||||
/* Clear the inquiry callback if set */
|
/* Clear the inquiry callback if set */
|
||||||
btm_cb.ble_ctr_cb.inq_var.scan_type = BTM_BLE_SCAN_MODE_NONE;
|
|
||||||
btm_cb.ble_ctr_cb.inq_var.state &= ~BTM_BLE_SCANNING;
|
btm_cb.ble_ctr_cb.inq_var.state &= ~BTM_BLE_SCANNING;
|
||||||
/* stop discovery now */
|
/* stop discovery now */
|
||||||
if(btsnd_hcic_ble_set_scan_enable (BTM_BLE_SCAN_DISABLE, BTM_BLE_DUPLICATE_ENABLE)) {
|
if(btsnd_hcic_ble_set_scan_enable (BTM_BLE_SCAN_DISABLE, BTM_BLE_DUPLICATE_ENABLE)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user