]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_ap_eap.py
tests: Clear BSS table at the end of rsn_ie_proto_eap_sta
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 30 Dec 2015 22:53:20 +0000 (00:53 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 30 Dec 2015 22:53:20 +0000 (00:53 +0200)
commit9353f07f3bb1dbcef48ecf78b307b658f9df4e6f
tree10d78e605f16e4fb3f46add51ad27b586871f461
parent700c5d0b1645330bfac0c27e729c2699366fa953
tests: Clear BSS table at the end of rsn_ie_proto_eap_sta

rsn_ie_proto_eap_sta followed by eap_ttls_mschapv2_session_resumption
showed a failure case where the special RSNE from rsn_ie_proto_eap_sta
ended up remaining in a wpa_supplicant BSS entry and the SELECT_NETWORK
command used the previous scan results without checking for changed AP
configuration. This resulted in test failure due to RSN IE being claimed
to be different in EAPOL-Key msg 3/4. This is not really a real world
issue, but try to avoid false failure reports by explicitly clearing the
BSS table at the end of rsn_ie_proto_eap_sta.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_eap.py