3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-03 01:48:49 +02:00

auto-t: iwd.py: fix full_scan argument

This was not being properly honored when existing networks were
already populated. This poses an issue for any test which uses
full_scan after setting radio values such as signal strength.
This commit is contained in:
James Prestwood 2022-03-28 10:28:33 -07:00 committed by Denis Kenzior
parent 327f719f91
commit 6e608b14f5

View File

@ -492,6 +492,7 @@ class Device(IWDDBusAbstract):
main sorting factor.
'''
ordered_networks = []
if not full_scan:
for bus_obj in self._station.GetOrderedNetworks():
ordered_network = OrderedNetwork(bus_obj, self._bus, self._namespace)
ordered_networks.append(ordered_network)