tests: Make dpp_controller_init_through_relay* more robust
Avoid a race condition that could result in the relay (hostapd) maintaining STA association with PMF and discarding of the GAS frames. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
94cb040021
commit
ee5ababa1d
1 changed files with 2 additions and 0 deletions
|
@ -5977,9 +5977,11 @@ def run_dpp_controller_init_through_relay(dev, apdev, params, dynamic=False,
|
|||
raise Exception("DPP network id not reported")
|
||||
network = int(ev.split(' ')[1])
|
||||
dev[0].wait_connected()
|
||||
relay.wait_sta()
|
||||
dev[0].dump_monitor()
|
||||
dev[0].request("DISCONNECT")
|
||||
dev[0].wait_disconnected()
|
||||
relay.wait_sta_disconnect()
|
||||
dev[0].dump_monitor()
|
||||
|
||||
if add:
|
||||
|
|
Loading…
Reference in a new issue