summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/mpci.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r--cpukit/score/src/mpci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index a2acf89424..9b623b253f 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -83,7 +83,6 @@ void _MPCI_Handler_initialization(
_Thread_queue_Initialize(
&_MPCI_Remote_blocked_threads,
THREAD_QUEUE_DISCIPLINE_FIFO,
- STATES_WAITING_FOR_RPC_REPLY,
timeout_status
);
}
@@ -219,12 +218,10 @@ uint32_t _MPCI_Send_request_packet (
_Thread_queue_Enqueue(
&_MPCI_Remote_blocked_threads,
executing,
+ STATES_WAITING_FOR_RPC_REPLY | extra_state,
the_packet->timeout
);
- executing->current_state =
- _States_Set( extra_state, executing->current_state );
-
_Thread_Enable_dispatch();
return executing->Wait.return_code;