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> |
||
|---|---|---|
| .. | ||
| critical | ||
| user_work | ||
| work | ||
| work_queue | ||