]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_dbus.py
tests: Make dbus_p2p_group_termination_by_go more robust
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 3 Aug 2015 15:52:10 +0000 (18:52 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 3 Aug 2015 15:52:10 +0000 (18:52 +0300)
commit6fad40df9eed9dceb9a9d17288a301341de6f88b
treefa172722c4f7f5a47032ae587c5112d9cecc842b
parent5a21764994dbf7f8e0bc5a498ca3847f28a414e6
tests: Make dbus_p2p_group_termination_by_go more robust

Set peer_group_removed only if peer_group_added has already been set.
This fixes an issue where a propertiesChanged event triggered by an
earlier test case was able to get dbus_p2p_group_termination_by_go
terminated too early. This happened, e.g., with sequence
"dbus_p2p_two_groups dbus_p2p_group_termination_by_go".

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