3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 05:39:24 +01:00
iwd/autotests/util
James Prestwood 392eebc0a9 auto-t: iwd.py: fix re-scanning bug on get_ordered_networks
Certain scenarios coupled with lost beacons could result in OrderedNetwork
being initialized many times until the dbus library reached its maximum
signal registrations. This could happen where there are two networks,
IWD finds one in a scan but continues to scan for the other and the beacons
are lost. The way get_ordered_networks was written it returns early if any
networks are found. Since get_ordered_network (not plural) uses
get_ordered_networks() in a loop this caused OrderedNetwork's to be created
rapidly until python raises an exception.

To fix this, pass an optional list of networks being looked for to
get_ordered_networks. Only if all the networks in the list are found will
it return early, otherwise it will continue to scan.
2021-11-02 16:14:28 -05:00
..
config.py auto-t: introduce pure python test-runner re-write 2020-09-10 17:59:49 -05:00
ead.py auto-t: ead.py: remove wait_for_object_condition 2021-08-13 15:18:40 -05:00
hlrauc.py auto-t: hlrauc.py: remove unix socket on cleanup 2021-02-26 10:07:17 -06:00
hostapd.py auto-t: hostapd.py: add chan_switch() 2021-10-19 13:33:51 -05:00
hwsim.py auto-t: hwsim.py: add match/match_offset properties 2021-09-09 16:57:38 -05:00
iwd.py auto-t: iwd.py: fix re-scanning bug on get_ordered_networks 2021-11-02 16:14:28 -05:00
ofono.py auto-t: ofono.py: use non_block_wait 2021-08-13 11:16:19 -05:00
testutil.py auto-t: testutil.py: update Process changes 2021-08-26 08:52:48 -05:00
wpas.py autotests: Test GO-side IP Allocation in testP2P 2021-08-25 08:02:17 -05:00