nimble/ll: Check if truncated on CRC error

This commit is contained in:
Łukasz Rymanowski
2019-07-12 15:46:32 +02:00
parent 7858eb5885
commit 7a9e3147aa
+1 -1
View File
@@ -3199,7 +3199,7 @@ scan_continue:
#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_EXT_ADV)
if (aux_data) {
if (evt_possibly_truncated) {
if (evt_possibly_truncated || !BLE_MBUF_HDR_CRC_OK(hdr)) {
ble_ll_scan_end_adv_evt(aux_data);
}