Skip to content
Commit 17831b04 authored by Peter Bigot's avatar Peter Bigot Committed by Johan Hedberg
Browse files

bluetooth: mesh: settings: update k_work API



Switch to new work API, taking advantage of the difference between
schedule and reschedule to force an update if the new deadline is
sooner, and retain any previous deadline (or use the new deadline) if
it isn't.  Do not leave a path out that could, due to races, fail to
schedule necessary work.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 28c823b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment