Browse code

sworker: set the internal received flag

Daniel-Constantin Mierla authored on 26/11/2020 08:49:37
Showing 1 changed files
... ...
@@ -122,6 +122,7 @@ void sworker_exec_task(void *param)
122 122
 	memcpy(buf, stp->buf, stp->len);
123 123
 	len = stp->len;
124 124
 	memcpy(&rcvi, &stp->rcv, sizeof(receive_info_t));
125
+	rcvi.rflags |= RECV_F_INTERNAL;
125 126
 
126 127
 	_sworker_active = 1;
127 128
 	receive_msg(buf, len, &rcvi);