Fixed bug in creation of ul_cqi_report

This commit is contained in:
Xenofon Foukas
2016-03-04 10:19:34 +00:00
parent 47d3d77322
commit 06b55e3fba
+1 -1
View File
@@ -633,7 +633,7 @@ int enb_agent_mac_stats_reply(mid_t mod_id,
if(ul_report == NULL) if(ul_report == NULL)
goto error; goto error;
//Fill each UL report of the UE for each of the configured report types //Fill each UL report of the UE for each of the configured report types
for(j = 0; j++; j < full_ul_report->n_cqi_meas) { for(j = 0; j < full_ul_report->n_cqi_meas; j++) {
ul_report[j] = malloc(sizeof(Protocol__PrpUlCqi)); ul_report[j] = malloc(sizeof(Protocol__PrpUlCqi));
if(ul_report[j] == NULL) if(ul_report[j] == NULL)
goto error; goto error;