Integrated red-black tree algorithm for tree allocators
[keystone-rtos/rm-lld.git] / src / rm_transport.c
index 9864eae679a78ed33991a4d10a8b8b8488d05976..8c49337b3cdd74575cbe1d3a80045faa4a59bda8 100644 (file)
@@ -593,7 +593,7 @@ int32_t Rm_receivePktIsr(Rm_TransportHandle transportHandle, Rm_Packet *pkt)
                 /* Transfer the result of the request to the transaction */\r
                 transaction->state = resourceRespPkt->requestState;\r
 \r
-                if ((transaction->state == RM_SERVICE_APPROVED) &&\r
+                if ((transaction->state == RM_SERVICE_APPROVED_AND_COMPLETED) &&\r
                     ((transaction->type == Rm_service_RESOURCE_ALLOCATE) ||\r
                      (transaction->type == Rm_service_RESOURCE_BLOCK_ALLOCATE) ||\r
                      (transaction->type == Rm_service_RESOURCE_ALLOCATE_BY_NAME)))\r