JIRA ID: ODUHIGH-235 Implementation of RRC Reconfig and RRC Registration
[o-du/l2.git] / src / du_app / du_f1ap_msg_hdl.c
index 9eda4f3..2d8a8a9 100644 (file)
@@ -7377,7 +7377,14 @@ uint8_t procF1UeContextSetupReq(F1AP_PDU_t *f1apMsg)
            }
         case ProtocolIE_ID_id_RRCDeliveryStatusRequest:
            {
-              duUeCb->f1UeDb->dlRrcMsg->deliveryStatRpt = true;
+              if(duUeCb->f1UeDb->dlRrcMsg->rrcMsgPdu)
+              {
+                 duUeCb->f1UeDb->dlRrcMsg->deliveryStatRpt = true;
+              }
+              else
+              {
+                 DU_LOG("\nIgnoring delivery report, since rrcContainer is not present");
+              }
               break;
            }
         //TODO: To handle maxAggrBitRate case,