tests: Avoid a race in wpas_ap_lifetime_in_memory*
Disconnect processing might require some more time with wpa_supplicant AP mode. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
c26081bf92
commit
0cd4207b52
1 changed files with 1 additions and 0 deletions
|
@ -1087,6 +1087,7 @@ def run_wpas_ap_lifetime_in_memory(dev, apdev, params, raw):
|
|||
dev[1].request("DISCONNECT")
|
||||
dev[1].wait_disconnected()
|
||||
dev[0].wait_sta_disconnect()
|
||||
time.sleep(1)
|
||||
|
||||
buf2 = read_process_memory(pid, pmk)
|
||||
|
||||
|
|
Loading…
Reference in a new issue