Johannes Berg a2674fd902 tests: wpasupplicant: Refactor code duplication in wait_global_event()
This code is identical to the wait_event() code, except for the
mon/global_mon instance. Create a _wait_event() function that
encapsulates this, and use it for both.

While at it, fix the bug in wait_global_event() where in the case
of not having a global_mon it always returns None.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2019-02-01 23:02:43 +02:00
..
2015-04-22 11:44:19 +03:00
2017-12-09 18:45:34 +02:00
2013-10-26 17:49:05 +03:00
2013-10-26 17:49:05 +03:00