Commit 1b2d5b0c authored by mjoang's avatar mjoang

minor change to clear ul_config_list array

parent 834cd841
......@@ -237,8 +237,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
ul_config->sfn = 0;
ul_config->slot = 0;
ul_config->number_pdus = 0;
for (int i=0; i < FAPI_NR_UL_CONFIG_LIST_NUM; i++)
memset(&(ul_config->ul_config_list[i]), 0, sizeof(fapi_nr_ul_config_request_pdu_t));
memset(ul_config->ul_config_list, 0, sizeof(ul_config->ul_config_list));
pthread_mutex_unlock(&ul_config->mutex_ul_config);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment