mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-07-31 15:17:54 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user