mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
k_work_schedule() is supposed to be a no-op if the work item is already scheduled or submitted: the previous schedule is left unchanged. The check incorrectly inhibited the schedule operation when the work item was neither scheduled nor submitted, but was running. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>