3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-02-20 11:40:40 +01:00
iwd/autotests
James Prestwood 5e631b4e38 auto-t: fix wait_for_object_condition
After the re-write this was broken and not noticed until
recently. The issue appeared to be that the GLib timeout
callback retained no context of local variables. Previously
_wait_timed_out was set as a class variable, but this was
removed so multiple IWD instances could work. Without
_wait_timed_out being a class variable the GLib timeout
setting it had no effect on the wait loop.

To fix this we can set _wait_timed_out on the object being
passed in. This is preserved in the GLib timeout callback
and setting it gets honored in the wait loop.
2021-01-25 13:10:52 -06:00
..
2019-08-07 16:37:51 -05:00
2020-11-18 11:01:11 -06:00
2020-09-10 17:59:49 -05:00
2020-10-19 17:20:21 -05:00