queue: k_queue_cancel_wait: Fix not interrupting other threads
When k_poll is being used k_queue_cancel_wait shall mark the state as
K_POLL_STATE_NOT_READY so other threads will get properly notified with
a NULL pointer return.
Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Loading
Please sign in to comment