diff --git a/src/iec61850/client/client_report_control.c b/src/iec61850/client/client_report_control.c index 5373c417..d1ba6ede 100644 --- a/src/iec61850/client/client_report_control.c +++ b/src/iec61850/client/client_report_control.c @@ -999,6 +999,9 @@ IedConnection_setRCBValuesAsync(IedConnection self, IedClientError* error, Clien if (err != MMS_ERROR_NONE) { iedConnection_releaseOutstandingCall(self, call); } + else { + invokeId = call->invokeId; + } goto exit_function; }