From b9268bc3ad2ca4c18045c980128a4cfaf23ea10e Mon Sep 17 00:00:00 2001 From: David Price <davpric2@cisco.com> Date: Fri, 10 Nov 2017 09:09:07 +0000 Subject: [PATCH] How the hell did that work??? --- nfapi/nfapi_vnf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfapi/nfapi_vnf.c b/nfapi/nfapi_vnf.c index e73bd359952..d987ad732b4 100644 --- a/nfapi/nfapi_vnf.c +++ b/nfapi/nfapi_vnf.c @@ -640,7 +640,7 @@ int phy_rach_indication(struct nfapi_vnf_p7_config* config, nfapi_rach_indicatio eNB->UL_INFO.rach_ind = *ind; eNB->UL_INFO.rach_ind.rach_indication_body.preamble_list = eNB->preamble_list; - for (int i=0;i<ind->rach_indication_body.number_of_preambles++;i++) + for (int i=0;i<ind->rach_indication_body.number_of_preambles;i++) { if (ind->rach_indication_body.preamble_list[i].preamble_rel8.tl.tag == NFAPI_PREAMBLE_REL8_TAG) { -- GitLab