Merge "[Epic-ID: ODUHIGH-475][Task-ID: ODUHIGH-476]Integration fixes upto PRACH sched...
authorHarshita Lal <harshita.lal@radisys.com>
Wed, 2 Nov 2022 13:48:29 +0000 (13:48 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Wed, 2 Nov 2022 13:48:29 +0000 (13:48 +0000)
1  2 
src/du_app/du_sys_info_hdl.c

@@@ -203,12 -203,14 +203,14 @@@ uint8_t BuildMibPdu(
           break;
        }    
  
+ #ifdef DEBUG_ASN_PRINT
        /* Print encoded buffer */
        for(int i=0; i< encBufSize; i++)
        {
           printf("%x\t",encBuf[i]);
        } 
        printf("\n");
+ #endif
  
        ret = ROK;
        break;
@@@ -297,12 -299,14 +299,14 @@@ uint8_t BuildMibMsg(
           break;
        }  
  
+ #ifdef DEBUG_ASN_PRINT
        /* Print encoded buffer */
        for(int i=0; i< encBufSize; i++)
        {
           printf("%x\t",encBuf[i]);
        } 
        printf("\n");
+ #endif
  
        /* Free allocated memory */
        ret = ROK;
@@@ -2461,11 -2465,13 +2465,13 @@@ uint8_t BuildSib1Msg(
                 "unknown");
           break;
        }
+ #ifdef DEBUG_ASN_PRINT
        for(int i=0; i< encBufSize; i++)
        {
           printf("%x\t",encBuf[i]);
        }
        printf("\n");
+ #endif
  
        ret = ROK;
        break; 
@@@ -2863,7 -2869,7 +2869,7 @@@ void FreePuschCfgCommon(struct BWP_Upli
        /* P0 Nominal with grant */
        DU_FREE(setup->p0_NominalWithGrant, sizeof(long));
  
 -      DU_ALLOC(puschCfg->choice.setup, sizeof(PUSCH_ConfigCommon_t));
 +      DU_FREE(puschCfg->choice.setup, sizeof(PUSCH_ConfigCommon_t));
     }
  }/* BuildPuschCfgCommon */