mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-20 20:00:43 +01:00

The list_devices API has a race condition where sometimes it will return zero or less than the expected number of devices and fail the test. A fix is in place for when only a single devices is expected, but some tests expect more than one device. This changes wait_to_appear to an integer, and the caller can specify the number of devices they expect to get back. The default stays as it was, zero or "return cached devices".