+
+ if(schStatsDeleteRsp)
+ {
+ /* [Step-1] */
+ macStatsDeleteRsp->subscriptionId = schStatsDeleteRsp->subscriptionId;
+ macStatsDeleteRsp->numStatsGroupDeleted = schStatsDeleteRsp->numStatsGroupDeleted;
+
+ if(macStatsDeleteRsp->numStatsGroupDeleted)
+ {
+ /* [Step-3] */
+ for(idx =0;idx<macStatsDeleteRsp->numStatsGroupDeleted; idx++)
+ {
+ if(schStatsDeleteRsp->statsGrpDelInfo[idx].statsGrpDelRsp == RSP_OK)
+ {
+ macStatsDeleteRsp->statsGrpDelInfo[idx].statsGrpDelRsp =MAC_DU_APP_RSP_OK;
+ macStatsDeleteRsp->statsGrpDelInfo[idx].statsGrpDelCause =schStatsDeleteRsp->statsGrpDelInfo[idx].statsGrpDelCause;
+ }
+ else
+ {
+ macStatsDeleteRsp->statsGrpDelInfo[idx].statsGrpDelRsp =MAC_DU_APP_RSP_NOK;
+ macStatsDeleteRsp->statsGrpDelInfo[idx].statsGrpDelCause =schStatsDeleteRsp->statsGrpDelInfo[idx].statsGrpDelCause;
+ }
+ }
+ }
+ else
+ {
+ /* [Step-4] */
+ if(schStatsDeleteRsp->subsDelRsp == RSP_OK)
+ macStatsDeleteRsp->subsDelRsp = MAC_DU_APP_RSP_OK;
+ else
+ macStatsDeleteRsp->subsDelRsp = MAC_DU_APP_RSP_NOK;
+ macStatsDeleteRsp->subsDelCause = schStatsDeleteRsp->subsDelCause;
+ }
+ }