commit | 17831b045f5869b0e57e26caa0441f263d1a5ae6 | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Mon Mar 08 12:32:08 2021 -0600 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Wed Mar 10 20:45:13 2021 +0200 |
tree | 689cab7202844b553bd7ee93501fdb525d3dfc04 | |
parent | 28c823b16ee2e281f5e805140e584c63530ae58e [diff] |
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: Peter Bigot <peter.bigot@nordicsemi.no>