mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
auto-t: don't wait for wpa_supplicant to connect
When configuring wpa_supplicant all we care about is that it received the configuration object. wpa_supplicant takes quite a bit of time to connect in some cases so waiting for that is unneeded. This also increases the DPP timeout which may be required on slower systems or if the timing is particularly unlucky when receiving frames.
This commit is contained in:
parent
dbca7fcc02
commit
cc9f8d7489
@ -80,7 +80,7 @@ class Test(unittest.TestCase):
|
|||||||
|
|
||||||
self.wpas.dpp_enrollee_start(uri)
|
self.wpas.dpp_enrollee_start(uri)
|
||||||
|
|
||||||
self.wpas.wait_for_event('DPP-CONF-RECEIVED')
|
self.wpas.wait_for_event('DPP-CONF-RECEIVED', timeout=30)
|
||||||
|
|
||||||
def test_iwd_as_configurator_initiator(self):
|
def test_iwd_as_configurator_initiator(self):
|
||||||
self.hapd.reload()
|
self.hapd.reload()
|
||||||
@ -96,7 +96,7 @@ class Test(unittest.TestCase):
|
|||||||
|
|
||||||
self.device.dpp_start_configurator(uri)
|
self.device.dpp_start_configurator(uri)
|
||||||
|
|
||||||
self.hapd.wait_for_event('AP-STA-CONNECTED 42:00:00:00:00:00')
|
self.wpas.wait_for_event('DPP-CONF-RECEIVED', timeout=30)
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.wd = IWD(True)
|
self.wd = IWD(True)
|
||||||
@ -118,6 +118,7 @@ class Test(unittest.TestCase):
|
|||||||
self.device.disconnect()
|
self.device.disconnect()
|
||||||
self.device.dpp_stop()
|
self.device.dpp_stop()
|
||||||
self.wpas.dpp_configurator_remove()
|
self.wpas.dpp_configurator_remove()
|
||||||
|
self.wpas.clean_up()
|
||||||
|
|
||||||
self.wd = None
|
self.wd = None
|
||||||
self.device = None
|
self.device = None
|
||||||
|
Loading…
Reference in New Issue
Block a user