nimble/ll: Remove magic number

This commit is contained in:
Andrzej Kaczmarek
2021-11-08 16:27:37 +01:00
parent 5cb95b3951
commit 47cabcd893
+1 -1
View File
@@ -581,7 +581,7 @@ ble_ll_sync_parse_ext_hdr(struct os_mbuf *om, uint8_t **aux, int8_t *tx_power,
/* Ignore CTE for now */
if (ext_hdr_flags & (1 << BLE_LL_EXT_ADV_CTE_INFO_BIT)) {
i += 1;
i += BLE_LL_EXT_ADV_CTE_INFO_SIZE;
}
/* there should be no ADI in Sync or chain, skip it */