PLDM : Temporary fix in the pldmRepoChangeEvent

This commit fixes the unsupported eventDataOperation
in the pldmRepoChangeEvent handler. This unsupported
operation was causing a interleaved recordHandles of
PDRs from the host.

Tested: Using pldmtool, no looping of PDRs was observed.

Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
Change-Id: I94fbab0107deefe5d6d2accdc640cf3f86aee8ad
diff --git a/libpldmresponder/platform.cpp b/libpldmresponder/platform.cpp
index 319c22e..dd7851c 100644
--- a/libpldmresponder/platform.cpp
+++ b/libpldmresponder/platform.cpp
@@ -508,6 +508,11 @@
                 }
             }
 
+            if (eventDataOperation == PLDM_RECORDS_MODIFIED)
+            {
+                return PLDM_ERROR_UNSUPPORTED_PLDM_CMD;
+            }
+
             changeRecordData +=
                 dataOffset + (numberOfChangeEntries * sizeof(ChangeEntry));
             changeRecordDataSize -=