fix(ble_mesh): avoid filtering BLE_MESH_ADV_NONCONN_IND packets.

This commit is contained in:
Wu Meng Shi
2023-09-25 11:22:30 +08:00
committed by BOT
parent 923fcc25b6
commit be0f07e629

View File

@ -2958,7 +2958,7 @@ static bool notify_unprov_dev_info(bt_mesh_prov_bearer_t bearer, const uint8_t u
if (i == ARRAY_SIZE(unprov_dev)) {
BT_DBG("Device not in queue, notify to app layer");
if (bt_mesh_prov_svc_adv_filter()) {
if (adv_type == BLE_MESH_ADV_IND && bt_mesh_prov_svc_adv_filter()) {
return true;
}