tests: Make ap_wpa2_eap_aka_ext faster and more robust
authorJouni Malinen <j@w1.fi>
Sat, 17 Jan 2015 14:59:40 +0000 (16:59 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 17 Jan 2015 14:59:40 +0000 (16:59 +0200)
commit584e4197bd12d91d3b3ee69844b381ee3b7c4769
tree904480f59f2f166f36e12b34b26be8c0e2132877
parent27f527e0e23a67ec5cf70c0a01cc700c141080cd
tests: Make ap_wpa2_eap_aka_ext faster and more robust

Use SELECT_NETWORK instead of REASSOCIATE for the first reconnection to
avoid unnecessary long wait for temporary network disabling to be
cleared. In addition, wait for the disconnect event after issuing the
DISCONNECT commands to avoid issues due to any pending events during the
immediately following reconnection attempt.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_eap.py