commit | cd2a5dd6124940f1be5345cc4dae800808a08d1f | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Sat Nov 21 14:53:58 2020 -0600 |
committer | Jukka Rissanen <jukka.rissanen+github@gmail.com> | Tue Nov 24 13:04:48 2020 +0200 |
tree | 6fc1da2cad53ca81c4c3e1020c804cd24b6670b6 | |
parent | 550a1f411d458090da1af52b83ba20f405b9b9d4 [diff] |
bluetooth: mesh: avoid improper access to internal structures Nothing in the API description the delayed work structure sanctions direct reference to internal fields. Do not assume that a delayed work item can be submitted without delay by invoking k_work_submit() with a reference to the contained work item. Instead submit with the delayed API and no wait. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>