From 7a8023e54c54b3eceef51578a361a1ce057f5471 Mon Sep 17 00:00:00 2001 From: wangjialiang Date: Sat, 20 Mar 2021 13:49:36 +0800 Subject: [PATCH] ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message. For case MESH/NODE/PBADV/BI-04-C --- components/bt/esp_ble_mesh/mesh_core/scan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/scan.c b/components/bt/esp_ble_mesh/mesh_core/scan.c index 753f19bb9c..b840eff9d0 100644 --- a/components/bt/esp_ble_mesh/mesh_core/scan.c +++ b/components/bt/esp_ble_mesh/mesh_core/scan.c @@ -233,14 +233,11 @@ static void bt_mesh_scan_cb(const bt_mesh_addr_t *addr, buf->len = len - 1; -#if 0 - /* TODO: Check with BLE Mesh BQB test cases */ if ((type == BLE_MESH_DATA_MESH_PROV || type == BLE_MESH_DATA_MESH_MESSAGE || type == BLE_MESH_DATA_MESH_BEACON) && (adv_type != BLE_MESH_ADV_NONCONN_IND)) { BT_DBG("Ignore mesh packet (type 0x%02x) with adv_type 0x%02x", type, adv_type); return; } -#endif switch (type) { case BLE_MESH_DATA_MESH_MESSAGE: