Bugfix in ngap_gNB_handle_ng_setup_response: use correct count for PLMNSupportList
This commit is contained in:
@@ -251,7 +251,7 @@ static int ngap_gNB_handle_ng_setup_response(sctp_assoc_t assoc_id, uint32_t str
|
|||||||
|
|
||||||
STAILQ_INIT(&amf_desc_p->plmn_supports);
|
STAILQ_INIT(&amf_desc_p->plmn_supports);
|
||||||
|
|
||||||
for (i = 0; i < ie->value.choice.ServedGUAMIList.list.count; i++) {
|
for (i = 0; i < ie->value.choice.PLMNSupportList.list.count; i++) {
|
||||||
NGAP_PLMNSupportItem_t *plmn_support_item_p;
|
NGAP_PLMNSupportItem_t *plmn_support_item_p;
|
||||||
struct plmn_support_s *new_plmn_support_p;
|
struct plmn_support_s *new_plmn_support_p;
|
||||||
NGAP_SliceSupportItem_t *slice_support_item_p;
|
NGAP_SliceSupportItem_t *slice_support_item_p;
|
||||||
|
|||||||
Reference in New Issue
Block a user