+ /* If deleteAllStats is true, then we don't need to fill in the
+ * statsGrpIdToBeDelList with action details; otherwise, we must fill in the
+ * statsGrpIdToBeDelList with action-related data that is set to CONFIG_DEL.*/
+ if(!deleteAllStats)
+ {
+ actionIdx=0;
+ CM_LLIST_FIRST_NODE(&ricSubscriptionInfo->actionSequence, actionNode);
+ while(actionNode)
+ {
+ actionDb = (ActionInfo*)(actionNode->node);
+ if(actionDb->action == CONFIG_DEL)
+ {
+ macStatsDelete->statsGrpIdToBeDelList[actionIdx] = actionDb->actionId;
+ actionIdx++;
+ }
+ }
+ macStatsDelete->numStatsGroupToBeDeleted=actionIdx;
+ }
+