nimble/host: Don't assert on unknown data status

Just skip advertising report if it has been reported with
reserved data status.
This commit is contained in:
Szymon Janc
2024-09-24 13:48:31 +02:00
parent 23d61150dd
commit 363d97a5ae
+2 -1
View File
@@ -683,7 +683,8 @@ ble_hs_hci_evt_le_ext_adv_rpt(uint8_t subevent, const void *data,
desc.data_status = BLE_GAP_EXT_ADV_DATA_STATUS_TRUNCATED;
break;
default:
assert(false);
report = (const void *) &report->data[report->data_len];
continue;
}
}
desc.addr.type = report->addr_type;