]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Disconnect after OCV tests showing valid OCI
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 19 Dec 2024 22:45:25 +0000 (00:45 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 19 Dec 2024 22:50:56 +0000 (00:50 +0200)
commit83ea5f8810515067234c4f3b3bfcb6a6ec5a8654
tree4b0cf9c18c67f779f6a748409437926c460f3bb6
parentf8a2bd16f61b2eaf4a3c4220ffccefcd4ff14d53
tests: Disconnect after OCV tests showing valid OCI

These test cases that used external EAPOL handling to test hostapd
behavior left the STA in associated state at the end and that could
result in race conditions showing up as a new association related event
in the following test case. Minimize risk of that resulting in test case
failures by explicit disconnecting at the end of the test case.

This was found with this test case sequence:
autogo_many wpa2_ocv_ap_unexpected1 wpa2_ocv_sta_override_eapol

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_ocv.py