Merge "[Epic-ID: ODUHIGH-462][Task-ID: ODUHIGH-469] Chnages in Drx-config asn structu...
[o-du/l2.git] / src / cu_stub / cu_f1ap_msg_hdl.c
index 4e02054..bc765bc 100644 (file)
@@ -11517,13 +11517,11 @@ void procF1SetupReq(uint32_t *destDuId, F1AP_PDU_t *f1apMsg)
               if(duDb == NULLP)
               {
                  duDb = &cuCb.duInfo[cuCb.numDu];
-                 memset(duDb, 0, sizeof(DuDb));
-                 duDb->duId = duId;
                  cuCb.numDu++;
-                 *destDuId = duId;
               }
-              else
-                 return;
+              memset(duDb, 0, sizeof(DuDb));
+              duDb->duId = duId;
+              *destDuId = duId;
               break;
            }
          case ProtocolIE_ID_id_gNB_DU_Name: