mgmt: hawkbit: hawkbit_autohandler_wait() returns to early #89342
Labels
area: hawkBit
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
the k_event_clear in the work might be to late sometimes, when
hawkbit_autohandler_wait() is executed directly after
hawkbit_autohandler(). This leads to getting the events
of the former execution and also not waiting until the
current autohandler run is finished.
To Reproduce
Steps to reproduce the behavior:
hawkbit run
Expected behavior
the shell command should block until the requested execution is completed
Impact
as long as hawkbit_autohandler_wait() is just used to wait for the first start, it shouldn't be a problem. For the shell it would mostly just result, in some misleading shell output.
The text was updated successfully, but these errors were encountered: