mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-01 13:08:08 +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;
|
desc.data_status = BLE_GAP_EXT_ADV_DATA_STATUS_TRUNCATED;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert(false);
|
report = (const void *) &report->data[report->data_len];
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
desc.addr.type = report->addr_type;
|
desc.addr.type = report->addr_type;
|
||||||
|
|||||||
Reference in New Issue
Block a user