diff --git a/components/bt/controller/esp32c6/bt.c b/components/bt/controller/esp32c6/bt.c index 69f5942a0f..d508a42434 100644 --- a/components/bt/controller/esp32c6/bt.c +++ b/components/bt/controller/esp32c6/bt.c @@ -670,7 +670,7 @@ void ble_controller_scan_duplicate_config() uint32_t duplicate_mode = FILTER_DUPLICATE_DEFAULT; uint32_t cache_size = CONFIG_BT_LE_SCAN_DUPL_CACHE_SIZE; if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 0) { - duplicate_mode = FILTER_DUPLICATE_ADDRESS; + duplicate_mode = FILTER_DUPLICATE_ADDRESS | FILTER_DUPLICATE_PDUTYPE; } else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 1) { duplicate_mode = FILTER_DUPLICATE_ADVDATA; } else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 2) { diff --git a/components/bt/controller/esp32h2/bt.c b/components/bt/controller/esp32h2/bt.c index 7ae67ac72e..1ee211976b 100644 --- a/components/bt/controller/esp32h2/bt.c +++ b/components/bt/controller/esp32h2/bt.c @@ -636,7 +636,7 @@ void ble_controller_scan_duplicate_config() uint32_t duplicate_mode = FILTER_DUPLICATE_DEFAULT; uint32_t cache_size = CONFIG_BT_LE_SCAN_DUPL_CACHE_SIZE; if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 0) { - duplicate_mode = FILTER_DUPLICATE_ADDRESS; + duplicate_mode = FILTER_DUPLICATE_ADDRESS | FILTER_DUPLICATE_PDUTYPE; } else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 1) { duplicate_mode = FILTER_DUPLICATE_ADVDATA; } else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 2) {